phoneapp/phoneuiutils/inc/tphonecmdparamnumberentryobserver.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2005 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: 
       
    15 *   See class description.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __TPHONECMDPARAMNUMBERENTRYOBSERVER_H
       
    22 #define __TPHONECMDPARAMNUMBERENTRYOBSERVER_H
       
    23 
       
    24 //  INCLUDES
       
    25 
       
    26 #include <w32std.h>
       
    27 #include "tphonecommandparam.h"
       
    28 
       
    29 // DATA TYPES
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  A parameter class for key event information.
       
    35 */
       
    36 class TPhoneCmdParamNumberEntryObserver : public TPhoneUICommandParam
       
    37     {   
       
    38     public:  
       
    39         
       
    40         /**
       
    41         * C++ default constructor.
       
    42         */
       
    43         IMPORT_C TPhoneCmdParamNumberEntryObserver();
       
    44 
       
    45     public: 
       
    46         
       
    47         /**
       
    48         * Sets the callback function
       
    49         * @param aKeyEvent is the callback function
       
    50         */
       
    51         IMPORT_C void SetObserver( TCallBack aCallBack );
       
    52 
       
    53         /**
       
    54         * Returns the observer.
       
    55         * @return Returns the observer
       
    56         */
       
    57         IMPORT_C TCallBack Observer();
       
    58 
       
    59     private:    
       
    60         
       
    61         TCallBack iCallBack;
       
    62     };
       
    63 
       
    64 #endif // __TPHONECMDPARAMNUMBERENTRYOBSERVER_H   
       
    65             
       
    66 // End of File