ipsservices/ipssosplugin/inc/ipsplgdeletelocal.h
changeset 0 8466d47a6819
child 24 d189ee25cf9d
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Local message deletion class
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef IPSPLGDELETELOCAL_H
       
    19 #define IPSPLGDELETELOCAL_H
       
    20 
       
    21 //  INCLUDES
       
    22 
       
    23 #include <cacheman.h>
       
    24 
       
    25 
       
    26 // CONSTANTS
       
    27 // MACROS
       
    28 // DATA TYPES
       
    29 // FUNCTION PROTOTYPES
       
    30 // FORWARD DECLARATIONS
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *
       
    35 */
       
    36 class CIpsPlgDeleteLocal : public CImCacheManager
       
    37     {
       
    38     public:
       
    39 
       
    40         /**
       
    41         * Two-phased constructor.
       
    42         * @param aMessageSelection array of message ids to be purged
       
    43         * @param aMsvSession
       
    44         * @param aObserverRequestStatus
       
    45         * @return pointer to created CIpsPlgDeleteLocal object.
       
    46         */
       
    47         static CIpsPlgDeleteLocal* NewL(
       
    48             CMsvEntrySelection& aMessageSelection,
       
    49             CMsvSession& aMsvSession,
       
    50             TRequestStatus& aObserverRequestStatus );
       
    51 
       
    52         /**
       
    53         * destructor
       
    54         */
       
    55         virtual ~CIpsPlgDeleteLocal();
       
    56 
       
    57     
       
    58     protected:
       
    59     
       
    60         /**
       
    61         * Symbian OS constructor.
       
    62         * @param aMessageSelection array of message ids to be purged
       
    63         */
       
    64         void ConstructL( CMsvEntrySelection& aMessageSelection );
       
    65 
       
    66     private:
       
    67     
       
    68         /**
       
    69         * from CImCacheManager
       
    70         */
       
    71         TBool Filter() const;
       
    72 
       
    73     private:
       
    74     
       
    75         /**
       
    76         * C++ constructor
       
    77         */
       
    78         CIpsPlgDeleteLocal(
       
    79             CMsvSession& aMsvSession,
       
    80             TRequestStatus& aObserverRequestStatus );
       
    81 
       
    82     private: // data
       
    83 
       
    84         CMsvEntrySelection*                 iMessageSelection;
       
    85         
       
    86     };
       
    87 
       
    88 #endif      // IPSPLGDELETELOCAL_H
       
    89 
       
    90 // End of File