phoneengine/phonemodel/src/cpeparsermischandler.cpp
changeset 0 5f000ab63145
child 45 6b911d05207e
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     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:  implementation of CPEParserMiscHandler class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDES
       
    20 #include "cpeparsermischandler.h"
       
    21 #include "cpemessagehandler.h"
       
    22 #include <mpecallhandling.h>
       
    23 
       
    24 // ================= MEMBER FUNCTIONS =======================
       
    25 
       
    26 // -----------------------------------------------------------------------------
       
    27 // CPEParserMiscHandler::CPEParserMiscHandler
       
    28 // C++ default constructor can NOT contain any code, that
       
    29 // might leave.
       
    30 // -----------------------------------------------------------------------------
       
    31 //
       
    32 CPEParserMiscHandler::CPEParserMiscHandler(
       
    33         CPEMessageHandler& aOwner,
       
    34         MPECallHandling& aCallHandling
       
    35         ) : iOwner( aOwner ),
       
    36             iCallHandling( aCallHandling )
       
    37     {
       
    38     }
       
    39 
       
    40 // Destructor
       
    41 CPEParserMiscHandler::~CPEParserMiscHandler()
       
    42     {    
       
    43     }
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // CPEParserMiscHandler::ProcessShowIMEIL
       
    47 // Process IMEI display
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 void CPEParserMiscHandler::ProcessShowIMEIL()
       
    51     {
       
    52     iCallHandling.UpdatePhoneIdentity( MEngineMonitor::EPEMessageShowIMEI );
       
    53     }
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // CPEParserMiscHandler::ProcessUssdL
       
    57 // Process USSD request
       
    58 // -----------------------------------------------------------------------------
       
    59 //
       
    60 void CPEParserMiscHandler::ProcessUssdL(
       
    61         const TDesC& aString
       
    62         )
       
    63     {
       
    64     iOwner.HandleSendUssd( aString );
       
    65     }
       
    66 
       
    67 // End of File