summaryrefslogtreecommitdiff
path: root/orkbasecxx/Config.h
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2008-02-20 20:44:37 +0000
committerHenri Herscher <henri@oreka.org>2008-02-20 20:44:37 +0000
commitce3bd0f6f355366bddf27b2dcaea4f652a5ac075 (patch)
treeb53b72e592ffc02fedb644fe1190ddb9345112f4 /orkbasecxx/Config.h
parent3aa8a40ede53e566ebe254bf9efc7f6ff8fa5af4 (diff)
Added TapeDurationMinimumSec config parameter to be able to discard short recordings. Default is 0.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@524 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/Config.h')
-rw-r--r--orkbasecxx/Config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/orkbasecxx/Config.h b/orkbasecxx/Config.h
index 5630a71..0713c47 100644
--- a/orkbasecxx/Config.h
+++ b/orkbasecxx/Config.h
@@ -104,6 +104,9 @@
#define CAPTURE_FILE_SIZE_LIMIT_KB_DEFAULT 300000
#define PARTY_FILTER_PARAM "PartyFilter"
#define PARTY_FILTER_DEFAULT ""
+#define TAPE_DURATION_MINIMUM_SEC_PARAM "TapeDurationMinimumSec"
+#define TAPE_DURATION_MINIMUM_SEC_DEFAULT 0
+
class DLL_IMPORT_EXPORT_ORKBASE Config : public Object
{
@@ -163,6 +166,7 @@ public:
bool m_allowAutomaticRecording;
int m_captureFileSizeLimitKb;
std::list<CStdString> m_partyFilter;
+ int m_tapeDurationMinimumSec;
private:
log4cxx::LoggerPtr m_log;