cellular/telephonysettings/inc/PsetVariationProxy.h
branchRCL_3
changeset 19 7d48bed6ce0c
parent 0 ff3b6d0fd310
child 20 987c9837762f
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  
    14 * Description:  
    15 *		CPsetVariationProxy class is proxy class for 
    15 *       CPsetVariationProxy class is proxy class for 
    16 *		central repository variation
    16 *       central repository variation
    17 *		(Call waiting/distinguish between not provisioned and not activated).
    17 *       (Call waiting/distinguish between not provisioned and not activated).
    18 *  
    18 *  
    19 *
    19 *
    20 */
    20 */
    21 
    21 
    22 
    22 
    40 */
    40 */
    41 NONSHARABLE_CLASS (CPSetVariationProxy): public CBase 
    41 NONSHARABLE_CLASS (CPSetVariationProxy): public CBase 
    42     {
    42     {
    43     public: //constructor & destructor
    43     public: //constructor & destructor
    44     
    44     
    45     	/* 
    45         /* 
    46     	* Symbian OS 2-phase Constructor. 
    46         * Symbian OS 2-phase Constructor. 
    47     	* 
    47         * 
    48     	* @param aUid identifing the central repository UID.
    48         * @param aUid identifing the central repository UID.
    49         * @param aId central repository ID.
    49         * @param aId central repository ID.
    50         * @return the created instance.
    50         * @return the created instance.
    51     	*/
    51         */
    52     	static CPSetVariationProxy* NewL( const TUid& aUid, 
    52         static CPSetVariationProxy* NewL( const TUid& aUid, 
    53                                           const TUint aId );
    53                                           const TUint aId );
    54     	
    54         
    55     	/* Destructor */
    55         /* Destructor */
    56     	~CPSetVariationProxy();
    56         ~CPSetVariationProxy();
    57     	
    57         
    58     public:
    58     public:
    59         
    59         
    60     	/**
    60         /**
    61         * Check from member variable 'iFeature' is the requested feature active.
    61         * Check from member variable 'iFeature' is the requested feature active.
    62     	*
    62         *
    63     	* @param aFeature is uid for used central repository variable.
    63         * @param aFeature is uid for used central repository variable.
    64     	* @return returns TBool type ETrue/EFalse is current feature enabled or not
    64         * @return returns TBool type ETrue/EFalse is current feature enabled or not
    65     	*/
    65         */
    66     	TBool IsFeatureEnabled( TUint aFeature ) const;
    66         TBool IsFeatureEnabled( TUint aFeature ) const;
    67     	
    67         
    68     private:
       
    69     	
       
    70     	/**
       
    71         * Constructor
       
    72     	*
       
    73     	* Open CenRep, read data into 'iFeatures' and close CenRep 
       
    74     	*/
       
    75     	void ConstructL( const TUid& aUid, const TUint aId );	
       
    76     	
       
    77     private:
    68     private:
    78         
    69         
    79     	/* Default constructor */
    70         /**
    80     	CPSetVariationProxy();
    71         * Constructor
    81     	
    72         *
       
    73         * Open CenRep, read data into 'iFeatures' and close CenRep 
       
    74         */
       
    75         void ConstructL( const TUid& aUid, const TUint aId );   
       
    76         
    82     private:
    77     private:
    83         
    78         
    84     	// Saves cen rep data readed in ConstructL()
    79         /* Default constructor */
    85     	TInt iFeature;
    80         CPSetVariationProxy();
       
    81         
       
    82     private:
       
    83         
       
    84         // Saves cen rep data readed in ConstructL()
       
    85         TInt iFeature;
    86     };
    86     };
    87 
    87 
    88 #endif      // PSETVARIATIONPROXY_H
    88 #endif      // PSETVARIATIONPROXY_H
    89  
    89