ipsservices/ipssosplugin/inc/ipsplgbaseoperation.h
changeset 23 2dc6caa42ec3
parent 20 ecc8def7944a
equal deleted inserted replaced
20:ecc8def7944a 23:2dc6caa42ec3
    16 */
    16 */
    17 
    17 
    18 #ifndef IPSPLGBASEOPERATION_H
    18 #ifndef IPSPLGBASEOPERATION_H
    19 #define IPSPLGBASEOPERATION_H
    19 #define IPSPLGBASEOPERATION_H
    20 
    20 
       
    21 // <qmail> CFSMailCommon include not needed
       
    22 
    21 class CMsvOperation;
    23 class CMsvOperation;
    22 
    24 
    23 /**
    25 /**
    24 * class CIpsPlgBaseOperation
    26 * class CIpsPlgBaseOperation
    25 * Common base class for email operations
    27 *
       
    28 * Common base class for email online operations.
    26 */
    29 */
    27 NONSHARABLE_CLASS ( CIpsPlgBaseOperation ) : public CMsvOperation
    30 NONSHARABLE_CLASS ( CIpsPlgBaseOperation ) : public CMsvOperation
    28     {
    31     {
    29 public:
    32 public:
    30     virtual ~CIpsPlgBaseOperation();
    33     virtual ~CIpsPlgBaseOperation();
       
    34 
       
    35 	// <qmail> ProgressL function has been removed
    31 
    36 
    32     /**
    37     /**
    33     * For reporting if DoRunL leaves
    38     * For reporting if DoRunL leaves
    34     * All operations must implement this
    39     * All operations must implement this
    35     */
    40     */
    51 	/**
    56 	/**
    52 	* returns mailbox id that this operation is related to
    57 	* returns mailbox id that this operation is related to
    53 	* (given by caller during instantiation)
    58 	* (given by caller during instantiation)
    54 	*/
    59 	*/
    55 	TFSMailMsgId FSMailboxId() const;
    60 	TFSMailMsgId FSMailboxId() const;
    56     
    61 
       
    62 // <qmail>    
    57     /**
    63     /**
    58     * All concrete derived classes must have a type identifier
    64     * All concrete derived classes must have a type identifier
    59     * @return operation type
    65     * @return operation type
    60     */
    66     */
    61     virtual TIpsOpType IpsOpType() const = 0; // <qmail>
    67     virtual TIpsOpType IpsOpType() const = 0;
       
    68 // </qmail>
    62 	
    69 	
    63 protected:
    70 protected:
    64 
    71 
       
    72 	/**
       
    73     * C++ constructor
       
    74     */
    65     // <qmail> priority parameter has been removed
    75     // <qmail> priority parameter has been removed
    66     CIpsPlgBaseOperation(
    76     CIpsPlgBaseOperation(
    67         CMsvSession& aMsvSession,
    77         CMsvSession& aMsvSession,
    68         TRequestStatus& aObserverRequestStatus,
    78         TRequestStatus& aObserverRequestStatus,
    69         TInt aFSRequestId,
    79         TInt aFSRequestId,
    70         TFSMailMsgId aFSMailboxId );
    80         TFSMailMsgId aFSMailboxId );
    71 
    81 
       
    82 //<qmail> DoCancel, RunL, RunError functions have been removed
       
    83 
    72 protected:
    84 protected:
    73     TInt            iFSRequestId;
    85     TInt            iFSRequestId;
    74     TFSMailMsgId    iFSMailboxId;
    86     TFSMailMsgId    iFSMailboxId;
    75     };
    87     };
    76 
    88