systemswstubs/wiredbearerreference/inc/MAdaptation.h
changeset 0 0ce1b5ce9557
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/systemswstubs/wiredbearerreference/inc/MAdaptation.h	Thu Jan 14 07:14:53 2010 +0200
@@ -0,0 +1,69 @@
+/*
+* Copyright (c) 2002-2004 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:  Declaration of MAdaptation class. MAdaptation class
+*                defines an example interface to receive events from Domestic OS.
+*
+*/
+
+
+
+#ifndef MADAPTATION_H
+#define MADAPTATION_H
+
+// INCLUDES
+#include <e32base.h>
+
+// CONSTANTS
+
+// MACROS
+
+// DATA TYPES
+
+// FUNCTION PROTOTYPES
+
+// FORWARD DECLARATIONS
+class TAdaptationMessage;
+
+// CLASS DECLARATION
+
+/**
+*  MASYAdaptation
+*/
+class MAdaptation
+    {
+
+    public: // New functions
+        
+        /**
+        * Indicates bearer about received response message
+        * @return none
+        */
+        virtual void ProcessResponseL( TAdaptationMessage& aMessage ) = 0;
+
+        /**
+        * Indicates bearer about received error response message
+        * @return none
+        */
+        virtual void ProcessErrorResponseL( TInt aErrorCode, TAdaptationMessage& aMessage ) = 0;
+
+        /**
+        * Indicates bearer about received key event message.
+        * @return none
+        */
+        virtual void RaiseEventL( TAdaptationMessage& aMessage ) = 0;
+    };
+
+#endif      // MADAPTATION_H   
+            
+// End of File
\ No newline at end of file