From bc9e02f50ffb374715994d4320faace5d8875576 Mon Sep 17 00:00:00 2001 From: Gerald Begumisa Date: Mon, 26 Nov 2007 12:59:51 +0000 Subject: 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 --- orkbasecxx/Config.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'orkbasecxx/Config.cpp') 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() -- cgit v1.2.3