summaryrefslogtreecommitdiff
path: root/orkbasecxx/Config.cpp
diff options
context:
space:
mode:
authorGerald Begumisa <ben_g@users.sourceforge.net>2007-11-26 12:59:51 +0000
committerGerald Begumisa <ben_g@users.sourceforge.net>2007-11-26 12:59:51 +0000
commitbc9e02f50ffb374715994d4320faace5d8875576 (patch)
tree93cc5480e159aadfb044534cecabbbeb56d8b8b8 /orkbasecxx/Config.cpp
parentf4b9b1d0e2e57532f6d838d2a5e88f8852fb5888 (diff)
Added configuration parameter, CaptureFileSizeLimitKb, which limits the size of the MCF file to the value specified in kilo bytes
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@509 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/Config.cpp')
-rw-r--r--orkbasecxx/Config.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/orkbasecxx/Config.cpp b/orkbasecxx/Config.cpp
index d0bc296..c9f62dd 100644
--- a/orkbasecxx/Config.cpp
+++ b/orkbasecxx/Config.cpp
@@ -66,6 +66,7 @@ Config::Config()
m_httpServerPort = HTTP_SERVER_PORT_DEFAULT;
m_lookBackRecording = LOOKBACK_RECORDING_DEFAULT;
m_allowAutomaticRecording = ALLOW_AUTOMATIC_RECORDING_DEFAULT;
+ m_captureFileSizeLimitKb = CAPTURE_FILE_SIZE_LIMIT_KB_DEFAULT;
}
void Config::Define(Serializer* s)
@@ -135,6 +136,7 @@ void Config::Define(Serializer* s)
s->IntValue(HTTP_SERVER_PORT_PARAM, m_httpServerPort);
s->BoolValue(LOOKBACK_RECORDING_PARAM, m_lookBackRecording);
s->BoolValue(ALLOW_AUTOMATIC_RECORDING_PARAM, m_allowAutomaticRecording); // only valid in non-lookback mode
+ s->IntValue(CAPTURE_FILE_SIZE_LIMIT_KB_PARAM, m_captureFileSizeLimitKb);
}
void Config::Validate()