ncdengine/inc/ncdquerynumericitem.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:   Interface definition for numeric value query item.
       
    15 *
       
    16 */
       
    17 	
       
    18 
       
    19 #ifndef M_NCD_QUERY_NUMERIC_ITEM_H
       
    20 #define M_NCD_QUERY_NUMERIC_ITEM_H
       
    21 
       
    22 #include <e32cmn.h>
       
    23 
       
    24 #include "ncdqueryitem.h"
       
    25 #include "ncdinterfaceids.h"
       
    26 
       
    27 
       
    28 /**
       
    29  *  Describes a numeric query item.
       
    30  */
       
    31 class MNcdQueryNumericItem : public virtual MNcdQueryItem
       
    32     {
       
    33     
       
    34 public:
       
    35 
       
    36     /**
       
    37      * Unique identifier for the interface, required for all MCatalogsBase interfaces.
       
    38      *
       
    39      * 
       
    40      */
       
    41     enum { KInterfaceUid = ENcdQueryNumericItemUid };
       
    42 
       
    43     /**
       
    44      * Setter for queried numeric value.
       
    45      *
       
    46      * @param aValue Value to set.
       
    47      */ 
       
    48     virtual void SetValueL( const TDesC& aValue ) = 0;
       
    49 
       
    50 protected:
       
    51 
       
    52     /**
       
    53     * Destructor.
       
    54     *
       
    55     * @see MCatalogsBase::~MCatalogsBase
       
    56     */
       
    57     virtual ~MNcdQueryNumericItem() {}
       
    58 
       
    59     };
       
    60 	
       
    61 	
       
    62 #endif //  M_NCD_QUERY_NUMERIC_ITEM_H