contextframework/cfw/inc/cfserver/cfremovesubscriptioncleanupcmd.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 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:  CCFRemoveSubscriptionCleanupCmd class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CFREMOVESUBSCRIPTIONCLEANUPCMD_H
       
    20 #define C_CFREMOVESUBSCRIPTIONCLEANUPCMD_H
       
    21 
       
    22 
       
    23 // SYSTEM INCLUDE FILES
       
    24 #include <e32base.h>
       
    25 
       
    26 // USER INCLUDE FILES
       
    27 #include "cfcmd.h"
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 class CCFContextManager;
       
    31 
       
    32 // DATA TYPES
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37  * Remove subscription cleanup command.
       
    38  *
       
    39  * @lib CFServer
       
    40  * @since S60 5.0
       
    41  */
       
    42 NONSHARABLE_CLASS( CCFRemoveSubscriptionCleanupCmd ) : public CCFCmd
       
    43     {
       
    44 public:
       
    45 
       
    46     /**
       
    47      * Symbian two phased constructors.
       
    48      *
       
    49      * @since S60 5.0
       
    50      * @param aContextManager is the manager handling context subscriptions.
       
    51      * @return CCFRemoveSubscriptionCleanupCmd
       
    52      */
       
    53     static CCFRemoveSubscriptionCleanupCmd* NewL(
       
    54             CCFContextManager& aContextManager );
       
    55     static CCFRemoveSubscriptionCleanupCmd* NewLC(
       
    56             CCFContextManager& aContextManager );
       
    57 
       
    58     /**
       
    59      * C++ destructor.
       
    60      */
       
    61     virtual ~CCFRemoveSubscriptionCleanupCmd();
       
    62 
       
    63 public: // From CCFCmd
       
    64 
       
    65     /**
       
    66      * Executes the remove subscription cleanup command.
       
    67      *
       
    68      * @since S60 5.0
       
    69      * @param None.
       
    70      * @return None.
       
    71      */
       
    72     virtual void ExecuteL();
       
    73 
       
    74 private:
       
    75 
       
    76     CCFRemoveSubscriptionCleanupCmd( CCFContextManager& aContextManager );
       
    77 
       
    78 private: // Data
       
    79 
       
    80     // Context manager handling context subscriptions.
       
    81     CCFContextManager& iContextManager;
       
    82     };
       
    83 
       
    84 #endif // C_CFREMOVESUBSCRIPTIONCLEANUPCMD_H