systemswstubs/wiredbearerreference/inc/MAdaptation.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 14 Jan 2010 07:14:53 +0200
changeset 0 0ce1b5ce9557
permissions -rw-r--r--
Revision: 201001

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