diff -r c5af8598d22c -r e4c884866116 logsui/logsengine/logssymbianos/inc/logsdbconnector.h --- a/logsui/logsengine/logssymbianos/inc/logsdbconnector.h Thu Sep 02 20:27:05 2010 +0300 +++ b/logsui/logsengine/logssymbianos/inc/logsdbconnector.h Fri Sep 17 08:29:34 2010 +0300 @@ -36,7 +36,6 @@ class LogsEvent; class LogsRemove; class RFs; -class CRepository; // CLASS DECLARATIONS @@ -159,12 +158,6 @@ bool markEventsSeen(const QList& events); /** - * Clear missed calls counter. - * @return 0 if clearing was success - */ - int clearMissedCallsCounter(); - - /** * Read duplicates for specified event * @param eventId * @return 0 if reading started succesfully @@ -179,26 +172,6 @@ int refreshData(); int compressData(); - - - /** - * Returns cenrep key status of predictive search feature. - * @return 0 - feature is permanently off and can't be turned on, - * 1 - feature is on - * 2 - feature is temporarily off and can be turned on - * negative value indicates some error in fetching the key - */ - int predictiveSearchStatus(); - - /** - * Allows to modify cenrep key value of predictive search features. - * However, this function can't be used if feature is set permanently off - * (see predictiveSearchStatus()) - * @param enabled, specify whether cenrep key will be set to 1 or 2 - * @ return 0 if cenrep key value modified succesfully, - * -1 in case of some error - */ - int setPredictiveSearch(bool enabled); protected: // From LogsReaderObserver @@ -219,7 +192,7 @@ void deleteInvalidEvents(int newEventCount); int doMarkEventSeen(); bool handleModifyingCompletion(int err=0); - void getTelNumMatchLenL(int& matchLen); + void releaseDbConnections(); private: // data @@ -231,9 +204,9 @@ RFs* mFsSession; LogsReader* mReader; LogsRemove* mLogsRemove; - CRepository* mRepository; bool mCompressionEnabled; - + bool mFirstReadCompleted; + QList mEvents; QList mDuplicatedEvents; QList mRemovedEventIndexes;