emailservices/emailstore/base_plugin/inc/baseplugindelayedops.h
branchRCL_3
changeset 16 b5fbb9b25d57
parent 8 e1b6206813b4
child 24 d189ee25cf9d
--- a/emailservices/emailstore/base_plugin/inc/baseplugindelayedops.h	Tue Apr 27 16:20:14 2010 +0300
+++ b/emailservices/emailstore/base_plugin/inc/baseplugindelayedops.h	Tue May 11 15:57:15 2010 +0300
@@ -68,22 +68,25 @@
  * The base class for the delayed operations. All of the delayed operations must
  * derive from it.
  */
-class CDelayedOp : public CAsyncOneShot
+class CDelayedOp : public CActive
     {
 
 public:
-    
+
     IMPORT_C virtual ~CDelayedOp();
     
     IMPORT_C void SetContext(
         CBasePlugin& aPlugin,
         MDelayedOpsManager& aManager );
-    
+
+    IMPORT_C void StartOp();
+
     /**
      * Derived classes must implement their asynchronous processing in this
      * method. The GetPlugin method can only be used from within this method.
+     * Returns boolean: ETrue if op is yielding and needs to be called again, or EFalse if op is done.
      */
-    virtual void ExecuteOpL() = 0;
+    virtual TBool ExecuteOpL() = 0;
 
 protected: