ipsservices/ipssosplugin/inc/ipsplgdeletelocal.h
branchRCL_3
changeset 25 3533d4323edc
parent 24 d189ee25cf9d
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
    21 //  INCLUDES
    21 //  INCLUDES
    22 
    22 
    23 #include <cacheman.h>
    23 #include <cacheman.h>
    24 
    24 
    25 
    25 
    26 //<qmail> removed
    26 // CONSTANTS
    27 //<qmail> comment added
    27 // MACROS
       
    28 // DATA TYPES
       
    29 // FUNCTION PROTOTYPES
       
    30 // FORWARD DECLARATIONS
       
    31 // CLASS DECLARATION
       
    32 
    28 /**
    33 /**
    29 * class CIpsPlgDeleteLocal
    34 *
    30 * Implements virtual Filter() of CImCacheManager and decides if
       
    31 * message should be deleted. 
       
    32 */
    35 */
    33 //</qmail>
    36 class CIpsPlgDeleteLocal : public CImCacheManager
    34 NONSHARABLE_CLASS( CIpsPlgDeleteLocal ) : public CImCacheManager
       
    35     {
    37     {
    36     public:
    38     public:
    37 
    39 
    38         /**
    40         /**
    39         * Two-phased constructor.
    41         * Two-phased constructor.
    41         * @param aMsvSession
    43         * @param aMsvSession
    42         * @param aObserverRequestStatus
    44         * @param aObserverRequestStatus
    43         * @return pointer to created CIpsPlgDeleteLocal object.
    45         * @return pointer to created CIpsPlgDeleteLocal object.
    44         */
    46         */
    45         static CIpsPlgDeleteLocal* NewL(
    47         static CIpsPlgDeleteLocal* NewL(
    46             CMsvEntrySelection* aMessageSelection,
    48             CMsvEntrySelection& aMessageSelection,
    47             CMsvSession& aMsvSession,
    49             CMsvSession& aMsvSession,
    48             TRequestStatus& aObserverRequestStatus );
    50             TRequestStatus& aObserverRequestStatus );
    49 
    51 
    50         /**
    52         /**
    51         * destructor
    53         * destructor
    57     
    59     
    58         /**
    60         /**
    59         * Symbian OS constructor.
    61         * Symbian OS constructor.
    60         * @param aMessageSelection array of message ids to be purged
    62         * @param aMessageSelection array of message ids to be purged
    61         */
    63         */
    62         void ConstructL( CMsvEntrySelection* aMessageSelection );
    64         void ConstructL( CMsvEntrySelection& aMessageSelection );
    63 
    65 
    64     private:
    66     private:
    65     
    67     
    66         /**
    68         /**
    67         * from CImCacheManager
    69         * from CImCacheManager
    76         CIpsPlgDeleteLocal(
    78         CIpsPlgDeleteLocal(
    77             CMsvSession& aMsvSession,
    79             CMsvSession& aMsvSession,
    78             TRequestStatus& aObserverRequestStatus );
    80             TRequestStatus& aObserverRequestStatus );
    79 
    81 
    80     private: // data
    82     private: // data
    81 //<qmail>
    83 
    82         CMsvEntrySelection*                 iMessageSelection; // owned
    84         CMsvEntrySelection*                 iMessageSelection;
    83 //</qmail>        
    85         
    84     };
    86     };
    85 
    87 
    86 #endif      // IPSPLGDELETELOCAL_H
    88 #endif      // IPSPLGDELETELOCAL_H
    87 
    89 
    88 // End of File
    90 // End of File