summaryrefslogtreecommitdiff
path: root/orkbasecxx/messages
diff options
context:
space:
mode:
Diffstat (limited to 'orkbasecxx/messages')
-rw-r--r--orkbasecxx/messages/TapeMsg.cpp3
-rw-r--r--orkbasecxx/messages/TapeMsg.h2
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;