|
reSIProcate/DialogUsageManager
9680
|
00001 #if !defined(RESIP_DUMCOMMAND_HXX) 00002 #define RESIP_DUMCOMMAND_HXX 00003 00004 #include "resip/stack/ApplicationMessage.hxx" 00005 00006 namespace resip 00007 { 00008 00009 class DumCommand : public ApplicationMessage 00010 { 00011 public: 00012 virtual ~DumCommand() {} 00013 virtual void executeCommand() = 0; 00014 }; 00015 00016 class DumCommandAdapter : public DumCommand 00017 { 00018 public: 00019 virtual ~DumCommandAdapter() {} 00020 00021 virtual Message* clone() const 00022 { 00023 assert(false); 00024 return NULL; 00025 } 00026 00027 virtual EncodeStream& encode(EncodeStream& strm) const 00028 { 00029 return encodeBrief(strm); 00030 } 00031 }; 00032 } 00033 00034 #endif 00035
1.7.5.1