summaryrefslogtreecommitdiff
path: root/orkbasecxx/Reporting.cpp
diff options
context:
space:
mode:
authorGerald Begumisa <ben_g@users.sourceforge.net>2009-08-20 22:10:08 +0000
committerGerald Begumisa <ben_g@users.sourceforge.net>2009-08-20 22:10:08 +0000
commiteec7b116d5db1716810a3210b1e895be309cb39c (patch)
tree3ceb98b75328b8dcf4922cee6be1149f9ab8b5ed /orkbasecxx/Reporting.cpp
parent6d612d25b50447faffd8a78404dc08f1b9d28151 (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/Reporting.cpp')
-rw-r--r--orkbasecxx/Reporting.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/orkbasecxx/Reporting.cpp b/orkbasecxx/Reporting.cpp
index a0664b6..30243e6 100644
--- a/orkbasecxx/Reporting.cpp
+++ b/orkbasecxx/Reporting.cpp
@@ -168,6 +168,7 @@ void Reporting::AddTapeMessage(MessageRef& messageRef)
pRptTapeMsg->m_localIp = pTapeMsg->m_localIp;
pRptTapeMsg->m_remoteIp = pTapeMsg->m_remoteIp;
pRptTapeMsg->m_nativeCallId = pTapeMsg->m_nativeCallId;
+ pRptTapeMsg->m_onDemand = pTapeMsg->m_onDemand;
// Copy the tags!
std::copy(pTapeMsg->m_tags.begin(), pTapeMsg->m_tags.end(), std::inserter(pRptTapeMsg->m_tags, pRptTapeMsg->m_tags.begin()));
@@ -207,6 +208,7 @@ void Reporting::AddTapeMessage(MessageRef& messageRef)
pRptTapeMsg->m_localIp = pTapeMsg->m_localIp;
pRptTapeMsg->m_remoteIp = pTapeMsg->m_remoteIp;
pRptTapeMsg->m_nativeCallId = pTapeMsg->m_nativeCallId;
+ pRptTapeMsg->m_onDemand = pTapeMsg->m_onDemand;
// Copy the tags!
std::copy(pTapeMsg->m_tags.begin(), pTapeMsg->m_tags.end(), std::inserter(pRptTapeMsg->m_tags, pRptTapeMsg->m_tags.begin()));