mmappfw_plat/mpx_common_api/inc/mpxmessageobserver.h
changeset 0 a2952bb97e68
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mmappfw_plat/mpx_common_api/inc/mpxmessageobserver.h	Thu Dec 17 08:55:47 2009 +0200
@@ -0,0 +1,43 @@
+/*
+* 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:  message observer
+*
+*/
+
+ 
+
+#ifndef MMPXMESSAGEOBSERVER_H
+#define MMPXMESSAGEOBSERVER_H
+
+
+/**
+*  Interface for receiving events.
+*
+*  @lib mpxcommon.lib
+*/ 
+NONSHARABLE_CLASS(MMPXMessageObserver)
+    {
+public: 
+    /**
+    *  Message received.
+    *
+    *  @since S60 3.2.3
+    *  @param aMsgData message data 
+    *  @param aError error code
+    */
+    virtual void MessageReceived(TInt aMsgData, TInt aError)=0;
+    };
+
+    
+#endif // MMPXMESSAGEOBSERVER_H