ipsservices/ipssosplugin/inc/ipsplgpop3connectop.h
changeset 43 99bcbff212ad
parent 23 2dc6caa42ec3
child 76 38bf5461e270
equal deleted inserted replaced
42:139d4b7b2938 43:99bcbff212ad
    42 	    * @param aActivityTimer mailbox specific activity timer
    42 	    * @param aActivityTimer mailbox specific activity timer
    43 	    * @param aFSMailBoxId specifies mailbox
    43 	    * @param aFSMailBoxId specifies mailbox
    44 	    * @param aFSOperationObserver observer callback pointer
    44 	    * @param aFSOperationObserver observer callback pointer
    45 	    * @param aFSRequestId client assigned identifier for the request instance
    45 	    * @param aFSRequestId client assigned identifier for the request instance
    46 	    * @param aEventHandler event handler for sending sync events
    46 	    * @param aEventHandler event handler for sending sync events
       
    47 	    * @param aSignallingAllowed for asynchronous request response message
       
    48 	    * @param aFetchWillFollow used when connection must be kept open
    47 	    * @return new instance of the class
    49 	    * @return new instance of the class
    48 	    */
    50 	    */
    49 		// <qmail> MFSMailRequestObserver& changed to pointer
    51 		// <qmail> MFSMailRequestObserver& changed to pointer
    50 		// <qmail> aSignallingAllowed parameter removed
    52 		// <qmail> aSignallingAllowed parameter added
       
    53         // <qmail> aFetchWillFollow parameter added
    51         static CIpsPlgPop3ConnectOp* NewL(
    54         static CIpsPlgPop3ConnectOp* NewL(
    52             CMsvSession& aMsvSession,
    55             CMsvSession& aMsvSession,
    53             TRequestStatus& aObserverRequestStatus,
    56             TRequestStatus& aObserverRequestStatus,
    54             TMsvId aService,
    57             TMsvId aService,
    55             TBool aForcePopulate,
    58             TBool aForcePopulate,
    56             CIpsPlgTimerOperation& aActivityTimer,
    59             CIpsPlgTimerOperation& aActivityTimer,
    57             TFSMailMsgId aFSMailBoxId,
    60             TFSMailMsgId aFSMailBoxId,
    58             MFSMailRequestObserver* aFSOperationObserver,
    61             MFSMailRequestObserver* aFSOperationObserver,
    59             TInt aFSRequestId,
    62             TInt aFSRequestId,
    60             CIpsPlgEventHandler* aEventHandler );
    63             CIpsPlgEventHandler* aEventHandler,
       
    64             TBool aSignallingAllowed=ETrue,
       
    65             TBool aFetchWillFollow=EFalse );
    61 
    66 
    62         /**
    67         /**
    63         *
    68         *
    64         */
    69         */
    65         virtual ~CIpsPlgPop3ConnectOp();
    70         virtual ~CIpsPlgPop3ConnectOp();
    89          * Returns operation type
    94          * Returns operation type
    90          */
    95          */
    91         TIpsOpType IpsOpType() const;
    96         TIpsOpType IpsOpType() const;
    92 // </qmail>
    97 // </qmail>
    93 
    98 
       
    99         TInt GetOperationErrorCodeL( );
       
   100         
    94     protected:
   101     protected:
    95 
   102 
    96         /**
   103         /**
    97          * 
   104          * 
    98          */
   105          */
   107 
   114 
   108         /**
   115         /**
   109         *
   116         *
   110         */
   117         */
   111 		// <qmail> MFSMailRequestObserver& changed to pointer
   118 		// <qmail> MFSMailRequestObserver& changed to pointer
   112 		// <qmail> aSignallingAllowed parameter removed
   119 		// <qmail> aSignallingAllowed parameter added
       
   120         // <qmail> aFetchWillFollow parameter added
   113         CIpsPlgPop3ConnectOp(
   121         CIpsPlgPop3ConnectOp(
   114             CMsvSession& aMsvSession,
   122             CMsvSession& aMsvSession,
   115             TRequestStatus& aObserverRequestStatus,
   123             TRequestStatus& aObserverRequestStatus,
   116             TMsvId aServiceId,
   124             TMsvId aServiceId,
   117             TBool aForcePopulate,
   125             TBool aForcePopulate,
   118             CIpsPlgTimerOperation& aActivityTimer,
   126             CIpsPlgTimerOperation& aActivityTimer,
   119             TFSMailMsgId aFSMailBoxId,
   127             TFSMailMsgId aFSMailBoxId,
   120             MFSMailRequestObserver* aFSOperationObserver,
   128             MFSMailRequestObserver* aFSOperationObserver,
   121             TInt aFSRequestId,
   129             TInt aFSRequestId,
   122             CIpsPlgEventHandler* aEventHandler );
   130             CIpsPlgEventHandler* aEventHandler,
       
   131             TBool aSignallingAllowed,
       
   132             TBool aFetchWillFollow );
   123 
   133 
   124         /**
   134         /**
   125         *
   135         *
   126         */
   136         */
   127         void ConstructL();
   137         void ConstructL();
   132          */
   142          */
   133         void DoConnectL();
   143         void DoConnectL();
   134         void DoPopulateL();
   144         void DoPopulateL();
   135 	    // <qmail> removed TBool ValidateL() (did nothing)
   145 	    // <qmail> removed TBool ValidateL() (did nothing)
   136 	    // <qmail> removed void DoQueryPasswordL() not used any more
   146 	    // <qmail> removed void DoQueryPasswordL() not used any more
   137         void DoDisconnect();
   147         // <qmail> DoDisconnect -> DoDisconnectL
       
   148         void DoDisconnectL();
   138 		// </qmail>
   149 		// </qmail>
   139         
   150         
   140         // <qmail> removed flag methods as they were not used or even defined anywhere
   151         // <qmail> removed flag methods as they were not used or even defined anywhere
   141         
   152         
   142 	    // <qmail> new function
   153 	    // <qmail> new function
   163 	    TPckgBuf<TPop3Progress>                         iProgress;
   174 	    TPckgBuf<TPop3Progress>                         iProgress;
   164 	    // <qmail> removed iPopulateLimit;
   175 	    // <qmail> removed iPopulateLimit;
   165 	    TBool                                           iForcePopulate;
   176 	    TBool                                           iForcePopulate;
   166 	    // <qmail> removed iSelection;
   177 	    // <qmail> removed iSelection;
   167 	    CIpsPlgEventHandler*                            iEventHandler; // not owned
   178 	    CIpsPlgEventHandler*                            iEventHandler; // not owned
   168         TBool                                           iAlreadyConnected;
   179 	    // <qmail> iAlreadyConnected removed
       
   180         // <qmail>
       
   181         TBool                                           iFetchWillFollow;
       
   182         // </qmail>
   169     };
   183     };
   170 
   184 
   171 #endif
   185 #endif