phoneengine/phonemodel/src/cpeparsermischandler.cpp
author William Roberts <williamr@symbian.org>
Fri, 11 Jun 2010 16:24:06 +0100
branchGCC_SURGE
changeset 38 35db4fa135f4
parent 0 5f000ab63145
child 45 6b911d05207e
permissions -rw-r--r--
Branch for GCC_SURGE fixes

/*
* 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