email/imap4mtm/imapprotocolcontroller/inc/cimapupdateflagoperation.h
branchRCL_3
changeset 77 da6ac9d688df
parent 60 7fdbb852d323
equal deleted inserted replaced
71:17302fa075e1 77:da6ac9d688df
    41 	
    41 	
    42 	static CImapUpdateFlagOperation* NewL(CImapSyncManager& aSyncManager,
    42 	static CImapUpdateFlagOperation* NewL(CImapSyncManager& aSyncManager,
    43 						 			  CMsvServerEntry& aServerEntry,
    43 						 			  CMsvServerEntry& aServerEntry,
    44 						 			  CImapSettings& aImapSettings
    44 						 			  CImapSettings& aImapSettings
    45 						 			  );
    45 						 			  );
    46 	static CImapUpdateFlagOperation* NewL(CImapSyncManager& aSyncManager,
       
    47 	                                      CMsvServerEntry& aServerEntry,
       
    48 	                                      CImapSettings& aImapSettings,
       
    49 	                                      const CMsvEntrySelection& aSourceSel,
       
    50 	                                      TBool aFlagChanged
       
    51 	                                      );
       
    52 	virtual void StartOperation(TRequestStatus& aStatus, CImapSession& aSession);
    46 	virtual void StartOperation(TRequestStatus& aStatus, CImapSession& aSession);
    53 	
    47 	
    54 ////////////	virtual void StartOperation(TRequestStatus& aStatus);//
    48 ////////////	virtual void StartOperation(TRequestStatus& aStatus);//
    55 	virtual void Progress(TImap4CompoundProgress& aCompoundProgress);
    49 	virtual void Progress(TImap4CompoundProgress& aCompoundProgress);
    56 	// Support for Bearer Mobility
    50 	// Support for Bearer Mobility
    60 	CImapUpdateFlagOperation(CImapSyncManager& aSyncManager,
    54 	CImapUpdateFlagOperation(CImapSyncManager& aSyncManager,
    61 						 CMsvServerEntry& aServerEntry,
    55 						 CMsvServerEntry& aServerEntry,
    62 						 CImapSettings& aImapSettings
    56 						 CImapSettings& aImapSettings
    63 						 );
    57 						 );
    64 	void ConstructL();
    58 	void ConstructL();
    65 	void ConstructL(const CMsvEntrySelection& aSourceSel,TBool aFlagChanged);
       
    66 
    59 
    67 	TBool DoRunLoopL();
    60 	TBool DoRunLoopL();
    68 	void DoCancel();
    61 	void DoCancel();
    69 
    62 
    70 	virtual TInt ProcessNegativeServerResponse();
    63 	virtual TInt ProcessNegativeServerResponse();
    72 private:
    65 private:
    73 
    66 
    74 	RArray<TUint> iMessageUids;
    67 	RArray<TUint> iMessageUids;
    75 	
    68 	
    76 	RArrayMessageFlagInfo iFlagInfoResponseArray;
    69 	RArrayMessageFlagInfo iFlagInfoResponseArray;
    77 	
       
    78 	CMsvEntrySelection* iSourceSel;
       
    79 	TBool iMarkFlag;
       
    80 	TBool iEntrySelection;
       
    81 	TInt iProgressMsgsToDo;
       
    82 	TInt iProgressMsgsDone;
       
    83 
       
    84 	};
    70 	};
    85 
    71 
    86 #endif	// __CIMAPUPDATEFLAGOPERATION_H__
    72 #endif	// __CIMAPUPDATEFLAGOPERATION_H__