/usr/include/resip/dum/TargetCommand.hxx is in libresiprocate-1.11-dev 1:1.11.0~beta5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #if !defined(RESIP_TARGETCOMMAND_HXX)
#define RESIP_TARGETCOMMAND_HXX
#include <memory>
#include "resip/dum/DumCommand.hxx"
namespace resip
{
class DialogUsageManager;
class TargetCommand : public DumCommand
{
public:
class Target
{
public:
Target(DialogUsageManager& dum) : mDum(dum)
{
}
virtual ~Target()=0;
virtual void post(std::auto_ptr<Message>)=0;
protected:
DialogUsageManager& mDum;
};
TargetCommand(Target& target, std::auto_ptr<Message> message);
TargetCommand(const TargetCommand&);
void executeCommand();
Message* clone() const;
EncodeStream& encode(EncodeStream& strm) const;
EncodeStream& encodeBrief(EncodeStream& strm) const;
private:
Target& mTarget;
mutable std::auto_ptr<Message> mMessage;
};
}
#endif
|