diff options
author | Henri Herscher <henri@oreka.org> | 2007-10-16 18:26:43 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2007-10-16 18:26:43 +0000 |
commit | 7adfc380921d346102a738179f5d0afa83f8b297 (patch) | |
tree | 67df82367278452211118e41ec127daa5569f058 /orkbasecxx | |
parent | 84d45bf1e53449fed92c08c9950b65053ea22f7a (diff) |
tapelist.log now includes audio filename as it should be by default (does not take TapeFileNaming into account).
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@499 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx')
-rw-r--r-- | orkbasecxx/AudioTape.cpp | 2 | ||||
-rw-r--r-- | orkbasecxx/AudioTape.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/orkbasecxx/AudioTape.cpp b/orkbasecxx/AudioTape.cpp index 292a4a3..96d70d7 100644 --- a/orkbasecxx/AudioTape.cpp +++ b/orkbasecxx/AudioTape.cpp @@ -46,6 +46,7 @@ void AudioTapeDescription::Define(Serializer* s) s->StringValue("localEntryPoint", m_localEntryPoint); s->StringValue("localIp", m_localIp); s->StringValue("remoteIp", m_remoteIp); + s->StringValue("filename", m_filename); } void AudioTapeDescription::Validate(){} @@ -251,6 +252,7 @@ void AudioTape::AddCaptureEvent(CaptureEventRef eventRef, bool send) atd.m_remoteParty = m_remoteParty; atd.m_localIp = m_localIp; atd.m_remoteIp = m_remoteIp; + atd.m_filename = GetFilename(); CStdString description = atd.SerializeSingleLine(); LOG4CXX_INFO(LOG.tapelistLog, description); } diff --git a/orkbasecxx/AudioTape.h b/orkbasecxx/AudioTape.h index 8d06ae4..84c0d82 100644 --- a/orkbasecxx/AudioTape.h +++ b/orkbasecxx/AudioTape.h @@ -45,6 +45,7 @@ public: int m_duration; CStdString m_localIp; CStdString m_remoteIp; + CStdString m_filename; }; class DLL_IMPORT_EXPORT_ORKBASE AudioTape |