phoneengine/phonemodel/src/cpeparsermischandler.cpp
author Tom Pritchard <tomp@symbian.org>
Tue, 17 Aug 2010 18:45:21 +0100
branchRCL_3
changeset 55 fbea179620e6
parent 0 5f000ab63145
child 45 6b911d05207e
permissions -rw-r--r--
Patch for BUG 3596 - Phone app crashes when dialling a number from 3.0.1 onwards

/*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  implementation of CPEParserMiscHandler class.
*
*/


// INCLUDES
#include "cpeparsermischandler.h"
#include "cpemessagehandler.h"
#include <mpecallhandling.h>

// ================= MEMBER FUNCTIONS =======================

// -----------------------------------------------------------------------------
// CPEParserMiscHandler::CPEParserMiscHandler
// C++ default constructor can NOT contain any code, that
// might leave.
// -----------------------------------------------------------------------------
//
CPEParserMiscHandler::CPEParserMiscHandler(
        CPEMessageHandler& aOwner,
        MPECallHandling& aCallHandling
        ) : iOwner( aOwner ),
            iCallHandling( aCallHandling )
    {
    }

// Destructor
CPEParserMiscHandler::~CPEParserMiscHandler()
    {    
    }

// -----------------------------------------------------------------------------
// CPEParserMiscHandler::ProcessShowIMEIL
// Process IMEI display
// -----------------------------------------------------------------------------
//
void CPEParserMiscHandler::ProcessShowIMEIL()
    {
    iCallHandling.UpdatePhoneIdentity( MEngineMonitor::EPEMessageShowIMEI );
    }

// -----------------------------------------------------------------------------
// CPEParserMiscHandler::ProcessUssdL
// Process USSD request
// -----------------------------------------------------------------------------
//
void CPEParserMiscHandler::ProcessUssdL(
        const TDesC& aString
        )
    {
    iOwner.HandleSendUssd( aString );
    }

// End of File