idlehomescreen/hscontentcontrol/inc/hscontentcontroluninstallmonitor.h
branchRCL_3
changeset 17 b8fae6b8a148
parent 12 9674c1a575e9
child 18 d05a55b217df
equal deleted inserted replaced
12:9674c1a575e9 17:b8fae6b8a148
     1 /*
       
     2 * Copyright (c) 2009 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:   Class to listen SWI uninstall operation.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef HSCONTENTCONTROLUNINSTALLMONITOR_H
       
    19 #define HSCONTENTCONTROLUNINSTALLMONITOR_H
       
    20 
       
    21 // System includes
       
    22 #include <e32base.h>
       
    23 #include <e32property.h>
       
    24 
       
    25 // User includes
       
    26 #include "hscontentcontroluninstallobserver.h"
       
    27 
       
    28 // Forward declarations
       
    29 
       
    30 // Class declaration
       
    31 /** 
       
    32 * @class CHsContentControlUninstallMonitor
       
    33 * 
       
    34 * @brief An instance of class CHsContentControlUninstallMonitor which listens for 
       
    35 *  uninstall event from SWI.
       
    36 *  
       
    37 * @lib hscontentcontrol.lib
       
    38 */
       
    39 NONSHARABLE_CLASS( CHsContentControlUninstallMonitor ) : public CActive
       
    40     {
       
    41 public:     // constructors and destructor
       
    42     static CHsContentControlUninstallMonitor* NewL( 
       
    43                 MHsContentControlUninstallObserver& aObs );
       
    44     ~CHsContentControlUninstallMonitor();
       
    45 
       
    46 protected:  // from CActive
       
    47     void DoCancel();
       
    48     void RunL();
       
    49     
       
    50 private:    // new functions
       
    51     CHsContentControlUninstallMonitor( 
       
    52             MHsContentControlUninstallObserver& aObs );
       
    53     void ConstructL();
       
    54 
       
    55 private:     // data
       
    56     MHsContentControlUninstallObserver& iObs;
       
    57     RProperty iSwUninstallKey;
       
    58     };
       
    59 
       
    60 #endif // HSCONTENTCONTROLUNINSTALLMONITOR_H
       
    61