ipsservices/ipssosplugin/inc/ipsplgonlineoperation.h
changeset 18 578830873419
parent 0 8466d47a6819
child 20 ecc8def7944a
--- a/ipsservices/ipssosplugin/inc/ipsplgonlineoperation.h	Tue Feb 02 00:02:40 2010 +0200
+++ b/ipsservices/ipssosplugin/inc/ipsplgonlineoperation.h	Fri Apr 16 14:51:52 2010 +0300
@@ -39,7 +39,7 @@
 *
 * Common base class for email online operations.
 */
-class CIpsPlgOnlineOperation : public CIpsPlgBaseOperation
+NONSHARABLE_CLASS ( CIpsPlgOnlineOperation ) : public CIpsPlgBaseOperation
     {
     public:
            
@@ -140,14 +140,15 @@
             const CMsvEntrySelection& aSel,
             TMsvId aContextId,
             const TDesC8& aParams=KNullDesC8);
-            
+
+        // <qmail>
         /**
-        *
-        */            
-        //virtual TInt GetEngineProgress( const TDesC8& aProgress );
-
-protected:
-
+         * Finds out the current connection state of the mailbox
+         * @return true/false
+         */
+        virtual TBool Connected() const;
+        // </qmail>
+        
     /**
     *
     */
@@ -156,7 +157,7 @@
 protected:
 				// REVIEW: should tell whether the attributes are owned or not
 				// REVIEW: CMsvOperation already has similar attribute, change the name
-        CIpsPlgTimerOperation*  iActivityTimer;
+        CIpsPlgTimerOperation&  iActivityTimer;
         CBaseMtm*       iBaseMtm;
         CClientMtmRegistry* iMtmReg;
         // The sub-operation.