phoneapp/phoneuiutils/src/tphonecmdparamnumberentryobserver.cpp
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: Implementation of TPhoneCmdParamNumberEntryObserver class.
       
    15 *
       
    16 */
       
    17 
       
    18 // INCLUDE FILES
       
    19 
       
    20 #include "tphonecmdparamnumberentryobserver.h"   
       
    21 
       
    22 // ================= MEMBER FUNCTIONS =======================
       
    23 
       
    24 // C++ default constructor can NOT contain any code, that
       
    25 // might leave.
       
    26 //
       
    27 EXPORT_C TPhoneCmdParamNumberEntryObserver::TPhoneCmdParamNumberEntryObserver() :
       
    28     TPhoneCommandParam()
       
    29     {
       
    30     iParamId = EPhoneNumberEntryObserver;
       
    31     }
       
    32 
       
    33 // ---------------------------------------------------------
       
    34 // TPhoneCmdParamNumberEntryObserver::SetObserver
       
    35 // Sets the key event
       
    36 // (other items were commented in a header).
       
    37 // ---------------------------------------------------------
       
    38 //
       
    39 EXPORT_C void TPhoneCmdParamNumberEntryObserver::SetObserver( TCallBack aCallBack )
       
    40    {
       
    41    iCallBack = aCallBack;
       
    42    }
       
    43 
       
    44 // ---------------------------------------------------------
       
    45 // TPhoneCmdParamNumberEntryObserver::Observer
       
    46 // Returns the observer
       
    47 // (other items were commented in a header).
       
    48 // ---------------------------------------------------------
       
    49 //
       
    50 EXPORT_C TCallBack TPhoneCmdParamNumberEntryObserver::Observer()
       
    51    {
       
    52    return iCallBack;
       
    53    }
       
    54 
       
    55 
       
    56 //  End of File