ncdengine/inc/ncdquerypincodeitem.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2006-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:   Interface definition for PIN code query item.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_NCD_QUERY_PIN_CODE_ITEM_H
       
    20 #define M_NCD_QUERY_PIN_CODE_ITEM_H
       
    21 
       
    22 #include <e32cmn.h>
       
    23 
       
    24 #include "ncdqueryitem.h"
       
    25 #include "ncdinterfaceids.h"
       
    26 
       
    27 /**
       
    28  *  Describes a pin code query item.
       
    29  *
       
    30  * 
       
    31  */
       
    32 class MNcdQueryPinCodeItem : public virtual MNcdQueryItem
       
    33     {
       
    34     
       
    35 public:
       
    36 
       
    37     /**
       
    38      * Unique identifier for the interface, required for all MCatalogsBase interfaces.
       
    39      *
       
    40      * 
       
    41      */
       
    42     enum { KInterfaceUid = ENcdQueryPinCodeItemUid };
       
    43 
       
    44     /**
       
    45      * Setter for pin code.
       
    46      *
       
    47      * 
       
    48      * @param aPinCode Pin code.
       
    49      * @exception Leave System wide error code.
       
    50      */ 
       
    51     virtual void SetPinCodeL( const TDesC& aPinCode ) = 0;
       
    52     
       
    53     
       
    54 protected:
       
    55 
       
    56     /**
       
    57     * Destructor.
       
    58     *
       
    59     * @see MCatalogsBase::~MCatalogsBase
       
    60     */
       
    61     virtual ~MNcdQueryPinCodeItem() {}
       
    62 
       
    63     };
       
    64 	
       
    65 	
       
    66 #endif //  M_NCD_QUERY_PIN_CODE_ITEM_H