--- a/creator/engine/inc/creator_log.h Fri Jun 11 16:29:34 2010 +0100
+++ b/creator/engine/inc/creator_log.h Thu Jul 22 16:33:59 2010 +0100
@@ -39,8 +39,13 @@
class CLogsParameters;
-class CCreatorLogs : public CActive, public MCreatorModuleBase
+class CCreatorLogs : public CActive, public MCreatorModuleBase, public MUIObserver
{
+enum TCreatorLogsStatus{
+ ECreatorLogsDelete = 0,
+ ECreatorLogsStart
+};
+
public:
static CCreatorLogs* NewL(CCreatorEngine* aEngine);
static CCreatorLogs* NewLC(CCreatorEngine* aEngine);
@@ -54,8 +59,9 @@
void DoCancel(); // from CActive
public:
- TBool AskDataFromUserL(TInt aCommand, TInt& aNumberOfEntries); // from MCreatorModuleBase
-
+ TBool AskDataFromUserL( TInt aCommand ); // from MCreatorModuleBase
+ void QueryDialogClosedL(TBool aPositiveAction, TInt aUserData);
+
TInt CreateMissedCallEntryL(CLogsParameters *aParameters);
TInt CreateReceivedCallEntryL(CLogsParameters *aParameters);
TInt CreateDialledNumberEntryL(CLogsParameters *aParameters);
@@ -63,6 +69,11 @@
void DeleteAllCreatedByCreatorL();
private:
+ CCreatorEngine* iEngine;
+ TInt iCommand;
+ TInt iEntriesToBeCreated;
+ TInt iDummy;
+
CLogClient* iLogClient;
CLogEvent* iLogEvent;
CActiveSchedulerWait iLogWriteWait;