diff options
author | Gerald Begumisa <ben_g@users.sourceforge.net> | 2009-08-20 22:10:08 +0000 |
---|---|---|
committer | Gerald Begumisa <ben_g@users.sourceforge.net> | 2009-08-20 22:10:08 +0000 |
commit | eec7b116d5db1716810a3210b1e895be309cb39c (patch) | |
tree | 3ceb98b75328b8dcf4922cee6be1149f9ab8b5ed /orkbasecxx/messages | |
parent | 6d612d25b50447faffd8a78404dc08f1b9d28151 (diff) |
Added a parameter to the tape message called "ondemand". This parameter is reported to orktrack. When a recording has been started by the API, instead of automatically, this parameter is set to 'true'.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@636 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/messages')
-rw-r--r-- | orkbasecxx/messages/TapeMsg.cpp | 3 | ||||
-rw-r--r-- | orkbasecxx/messages/TapeMsg.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/orkbasecxx/messages/TapeMsg.cpp b/orkbasecxx/messages/TapeMsg.cpp index f91d844..142e67b 100644 --- a/orkbasecxx/messages/TapeMsg.cpp +++ b/orkbasecxx/messages/TapeMsg.cpp @@ -50,6 +50,7 @@ void TapeMsg::Define(Serializer* s) s->StringValue(NATIVE_CALLID_PARAM, m_nativeCallId); s->CsvMapValue(TAGS_PARAM, m_tags); + s->BoolValue(ON_DEMAND_PARAM, m_onDemand); DefineMessage(s); } @@ -139,4 +140,4 @@ CStdString TapeTagMsg::GetClassName() ObjectRef TapeTagMsg::NewInstance() { return ObjectRef(new TapeTagMsg); -}
\ No newline at end of file +} diff --git a/orkbasecxx/messages/TapeMsg.h b/orkbasecxx/messages/TapeMsg.h index 017ab0e..89f90e0 100644 --- a/orkbasecxx/messages/TapeMsg.h +++ b/orkbasecxx/messages/TapeMsg.h @@ -33,6 +33,7 @@ #define REMOTE_MAC_PARAM "remotemac" #define NATIVE_CALLID_PARAM "nativecallid" #define TAGS_PARAM "tags" +#define ON_DEMAND_PARAM "ondemand" class DLL_IMPORT_EXPORT_ORKBASE TapeMsg : public SyncMessage { @@ -64,6 +65,7 @@ public: CStdString m_nativeCallId; std::map<CStdString, CStdString> m_tags; + bool m_onDemand; }; typedef boost::shared_ptr<TapeMsg> TapeMsgRef; |