commondrm/drmsettingsplugin/inc/drmsettingsusagelist.h
branchRCL_3
changeset 26 1221b68b8a5f
parent 25 50c53e893c3f
child 27 1481bf457703
equal deleted inserted replaced
25:50c53e893c3f 26:1221b68b8a5f
     1 /*
       
     2 * Copyright (c) 2007 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:  List class for Usage Reporting checkbox
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_DRMSETTINGSUSAGELIST_H
       
    20 #define C_DRMSETTINGSUSAGELIST_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <akncheckboxsettingpage.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CDRMSettingsModel;
       
    27 
       
    28 /**
       
    29  * CDRMSettingUsageList class
       
    30  */
       
    31 NONSHARABLE_CLASS( CDRMSettingUsageList ) : public CSelectionItemList
       
    32 	{
       
    33 
       
    34     public: // New functions
       
    35 	
       
    36 	    /**
       
    37 		* Two-phased constructor.
       
    38         */
       
    39 		static CDRMSettingUsageList* NewL( CDRMSettingsModel* aModel );
       
    40 
       
    41         /**
       
    42 		* Destructor.
       
    43         */
       
    44         virtual ~CDRMSettingUsageList();
       
    45         
       
    46 	    /**
       
    47 	    * Updates contexts
       
    48 	    */
       
    49 	    void UpdateContexts();
       
    50 	
       
    51 	private:
       
    52 	
       
    53 	    /**
       
    54 	    * Default constructor.
       
    55 	    */
       
    56 	    CDRMSettingUsageList( CDRMSettingsModel* aModel );
       
    57 	    
       
    58 	    /**
       
    59         * Symbian OS constructor.
       
    60         */
       
    61 	    void ConstructL();
       
    62 	    
       
    63 	private: // Data
       
    64 	
       
    65 	    // Not owned
       
    66 	    CDRMSettingsModel* iModel;
       
    67 	
       
    68 	};
       
    69 	
       
    70 #endif // C_DRMSETTINGSUSAGELIST_H