contextframework/cfw/inc/cfcontextsourcesettingsmanager/cfcontextsourcesettingparameterimpl.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2006-2006 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:  CFContextSourceSettingParameterImpl class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_CFCONTEXTSOURCESETTINGPARAMETERIMPL_H
       
    21 #define C_CFCONTEXTSOURCESETTINGPARAMETERIMPL_H
       
    22 
       
    23 
       
    24 #include "cfcontextsourcesettingparameter.h"
       
    25 
       
    26 /**
       
    27 * Setting parameter implementation.
       
    28 * 
       
    29 * @lib CFContextSourceSettingParameterImplsManager.lib
       
    30 * @since S60 4.0
       
    31 */
       
    32 NONSHARABLE_CLASS( CCFContextSourceSettingParameterImpl ):
       
    33     public CCFContextSourceSettingParameter
       
    34     {
       
    35     public:
       
    36     
       
    37         // Two phased constructors
       
    38         static CCFContextSourceSettingParameterImpl* NewL();
       
    39         static CCFContextSourceSettingParameterImpl* NewLC();
       
    40         
       
    41         // Destructor
       
    42         ~CCFContextSourceSettingParameterImpl();
       
    43     
       
    44     public: // From base classes
       
    45     
       
    46         // @see CCFContextSourceSettingParameter
       
    47         const TDesC& Name() const;
       
    48         
       
    49         // @see CCFContextSourceSettingParameter
       
    50         const RKeyValueArray& Attributes() const;
       
    51         
       
    52         // @see CCFContextSourceSettingParameter
       
    53         void SetNameL( const TDesC& aName );
       
    54         
       
    55         // @see CCFContextSourceSettingParameter
       
    56         void AddAttributeL( CCFKeyValuePair* aAttribute );
       
    57 
       
    58     private:
       
    59     
       
    60         CCFContextSourceSettingParameterImpl();
       
    61         void ConstructL();
       
    62         
       
    63     private: // Data
       
    64     
       
    65         // Own: Name
       
    66         HBufC* iName;
       
    67         
       
    68         // Own: Paramters
       
    69         RKeyValueArray iAttributes;
       
    70     };
       
    71     
       
    72 #endif