diff -r f27aebe284bb -r c5af8598d22c logsui/logsengine/src/logscommondata.cpp --- a/logsui/logsengine/src/logscommondata.cpp Wed Aug 18 09:49:12 2010 +0300 +++ b/logsui/logsengine/src/logscommondata.cpp Thu Sep 02 20:27:05 2010 +0300 @@ -19,6 +19,7 @@ #include "logscommondata.h" #include "logslogger.h" #include "logsconfigurationparams.h" +#include "logsengdefs.h" //SYSTEM #include @@ -31,7 +32,8 @@ // ----------------------------------------------------------------------------- // LogsCommonData::LogsCommonData() : - mContactManager(0), mMaxReadSize(-1), mMaxReadSizeDir(LogsEvent::DirUndefined) + mContactManager(0), mMaxReadSize(-1), + mMaxReadSizeDir(LogsEvent::DirUndefined), mMatchLen(logsDefaultMatchLength) { LOGS_QDEBUG( "logs [ENG] <-> LogsCommonData::LogsCommonData()" ) } @@ -129,5 +131,24 @@ { return mConfiguration; } + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +void LogsCommonData::setTelNumMatchLen(int matchLen) +{ + mMatchLen = matchLen; +} + +// ----------------------------------------------------------------------------- +// +// ----------------------------------------------------------------------------- +// +int LogsCommonData::telNumMatchLen() const +{ + return mMatchLen; +} + // End of file