phoneengine/phonemodel/src/cpeparsermischandler.cpp
changeset 0 5f000ab63145
child 45 6b911d05207e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phoneengine/phonemodel/src/cpeparsermischandler.cpp	Mon Jan 18 20:18:27 2010 +0200
@@ -0,0 +1,67 @@
+/*
+* 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