ncdengine/provider/protocol/inc/ncd_cp_queryoptionimpl.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 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:   MNcdProtocolElementEntity declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NCD_CONFIGURATION_PROTOCOL_ELEMENT_QUERYOPTIONIMPL_H
       
    20 #define NCD_CONFIGURATION_PROTOCOL_ELEMENT_QUERYOPTIONIMPL_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 #include "ncd_cp_queryoption.h"
       
    25 
       
    26 /**
       
    27  * Defines a selectable option in a query element.
       
    28  */
       
    29 class CNcdConfigurationProtocolQueryOptionImpl :
       
    30     public CBase,
       
    31     public MNcdConfigurationProtocolQueryOption
       
    32     {
       
    33 public:
       
    34     
       
    35     void ConstructL();
       
    36     
       
    37     virtual ~CNcdConfigurationProtocolQueryOptionImpl();
       
    38             
       
    39     /**
       
    40      * @see MNcdConfigurationProtocolQueryOption
       
    41      */
       
    42     virtual const TDesC& Value() const;
       
    43     
       
    44     /**
       
    45      * @see MNcdConfigurationProtocolQueryOption
       
    46      */
       
    47     virtual const CNcdString& Name() const;
       
    48 
       
    49 public:
       
    50 
       
    51     HBufC* iValue;
       
    52     CNcdString* iName;
       
    53     
       
    54     };
       
    55 
       
    56 
       
    57 #endif // NCD_CONFIGURATION_PROTOCOL_ELEMENT_QUERYOPTIONIMPL_H