emailservices/emailstore/base_plugin/inc/baseplugindelayedopsprivate.h
changeset 20 ecc8def7944a
parent 18 578830873419
child 23 2dc6caa42ec3
--- a/emailservices/emailstore/base_plugin/inc/baseplugindelayedopsprivate.h	Fri Apr 16 14:51:52 2010 +0300
+++ b/emailservices/emailstore/base_plugin/inc/baseplugindelayedopsprivate.h	Mon May 03 12:23:15 2010 +0300
@@ -19,7 +19,7 @@
 
 
 #include "baseplugindelayedops.h"
-
+#include "nestedao.h"
 
 /**
  * Lets the user enqueue and dequeue asynchronous jobs for handling
@@ -70,7 +70,7 @@
 /**
  * 
  */
-NONSHARABLE_CLASS( CDelayedDeleteMessagesOp ) : public CDelayedOp
+NONSHARABLE_CLASS( CDelayedDeleteMessagesOp ) : public CDelayedOp, public MDeletionHandler
     {
 
 public:
@@ -90,6 +90,10 @@
     //CDelayedOp::ExecuteOpL
     virtual void ExecuteOpL();
     
+    //From MDeletionHandler
+    //Used to delete messages in chunks starting from aStartIndex
+    TBool DeleteMessagesInChunksL( TInt aStartIndex );
+    
 private:
 
     void ConstructL( const RArray<TFSMailMsgId>& aMessages );
@@ -108,7 +112,7 @@
     TMsgStoreId iFolderId;
     RArray<TMsgStoreId> iMessages;
     TBool iImmediateDelete;
-    
+    TState iState;
     __LOG_DECLARATION
     };
 
@@ -173,7 +177,7 @@
     __LOG_DECLARATION
     };
 
-
+//<qmail>
 /**
  * 
  */
@@ -274,4 +278,6 @@
 
     __LOG_DECLARATION
     };
+//</qmail>
+
 #endif // BASEPLUGINDELAYEDOPSPRIVATE_H