phoneengine/phonemodel/src/cpeparsermischandler.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 21 Jun 2010 15:39:45 +0300
branchRCL_3
changeset 20 3c221667e687
parent 0 5f000ab63145
child 24 41a7f70b3818
permissions -rw-r--r--
Revision: 201023 Kit: 2010125

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