ipsservices/ipssosplugin/inc/ipsplgcreatemessageoperation.h
changeset 20 ecc8def7944a
parent 18 578830873419
child 23 2dc6caa42ec3
--- a/ipsservices/ipssosplugin/inc/ipsplgcreatemessageoperation.h	Fri Apr 16 14:51:52 2010 +0300
+++ b/ipsservices/ipssosplugin/inc/ipsplgcreatemessageoperation.h	Mon May 03 12:23:15 2010 +0300
@@ -28,7 +28,7 @@
 *
 * Email operation to create a new message asynchronously.
 */
-NONSHARABLE_CLASS ( CIpsPlgCreateMessageOperation ) : public CMsvOperation
+NONSHARABLE_CLASS ( CIpsPlgCreateMessageOperation ) : public CIpsPlgBaseOperation
     {
 public:
     
@@ -41,9 +41,9 @@
         TRequestStatus& aObserverRequestStatus,
         TMsvId aSmtpServiceId, 
         TMsvPartList aPartList,
-        TMsvId aMailBoxId,
+        TFSMailMsgId aMailBoxId,
         MFSMailRequestObserver& aOperationObserver,
-        const TInt aRequestId );
+        TInt aRequestId );
         
     /**
     * Destructor.
@@ -51,10 +51,26 @@
     virtual ~CIpsPlgCreateMessageOperation();
     
     /**
-    *
+    * From CMsvoperation
     */
     virtual const TDesC8& ProgressL();
 
+    /**
+    * From CIpsPlgBaseOperation
+    */
+    virtual const TDesC8& GetErrorProgressL(TInt aError);
+
+    /**
+    * From CIpsPlgBaseOperation
+    */
+    virtual TFSProgress GetFSProgressL() const;
+
+    /**
+     * From CIpsPlgBaseOperation
+     * Returns operation type
+     */
+    TIpsOpType IpsOpType() const;    
+
 protected:
 
     /**
@@ -66,9 +82,9 @@
         TRequestStatus& aObserverRequestStatus,
         TMsvId aSmtpServiceId, 
         TMsvPartList aPartList,
-        TMsvId aMailBoxId,
+        TFSMailMsgId aMailBoxId,
         MFSMailRequestObserver& aOperationObserver,
-        const TInt aRequestId );
+        TInt aRequestId );
     
     /**
     * Constructor.
@@ -103,10 +119,8 @@
     CMsvOperation* iOperation;   // owned
     TMsvId iSmtpServiceId; 
     TMsvPartList iPartList;
-    TBuf8<1> iBlank;
-    TMsvId iMailBoxId;
     MFSMailRequestObserver& iOperationObserver;  // not owned
-    TInt iRequestId;
+    TFSProgress iFSProgress;
     };