summaryrefslogtreecommitdiff
path: root/orkaudio/messages
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2005-12-06 17:28:37 +0000
committerHenri Herscher <henri@oreka.org>2005-12-06 17:28:37 +0000
commit720420f0e677008d3c1d9ebae8b20918032dff6b (patch)
treeb965e3c4aff0c33448afc2467a708c9a6497d041 /orkaudio/messages
parent57834e7e773ec0719b01ada6552674caa81adc61 (diff)
Added "recording ID" to tape which is the id of a tape before it gets a db ID
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@95 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/messages')
-rw-r--r--orkaudio/messages/TapeMsg.cpp1
-rw-r--r--orkaudio/messages/TapeMsg.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/orkaudio/messages/TapeMsg.cpp b/orkaudio/messages/TapeMsg.cpp
index 86c86b4..4c212d3 100644
--- a/orkaudio/messages/TapeMsg.cpp
+++ b/orkaudio/messages/TapeMsg.cpp
@@ -28,6 +28,7 @@ void TapeMsg::Define(Serializer* s)
{
CStdString tapeMessageName(TAPE_MESSAGE_NAME);
s->StringValue(OBJECT_TYPE_TAG, tapeMessageName, true);
+ s->StringValue(REC_ID_PARAM, m_recId, true);
s->StringValue(STAGE_PARAM, m_stage, true);
s->StringValue(CAPTURE_PORT_PARAM, m_capturePort, true);
s->IntValue(TIMESTAMP_PARAM, (int&)m_timestamp, true);
diff --git a/orkaudio/messages/TapeMsg.h b/orkaudio/messages/TapeMsg.h
index d127c6d..9d0ec3f 100644
--- a/orkaudio/messages/TapeMsg.h
+++ b/orkaudio/messages/TapeMsg.h
@@ -18,6 +18,7 @@
#include "AudioTape.h"
#define TAPE_MESSAGE_NAME "tape"
+#define REC_ID_PARAM "recid"
#define FILENAME_PARAM "filename"
#define STAGE_PARAM "stage"
#define LOCALPARTY_PARAM "localparty"
@@ -39,6 +40,7 @@ public:
ObjectRef NewInstance();
inline ObjectRef Process() {return ObjectRef();};
+ CStdString m_recId;
CStdString m_stage;
time_t m_timestamp;
CStdString m_fileName;