equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Declaration of MAdaptation class. MAdaptation class |
|
15 * defines an example interface to receive events from Domestic OS. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MADAPTATION_H |
|
22 #define MADAPTATION_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 |
|
27 // CONSTANTS |
|
28 |
|
29 // MACROS |
|
30 |
|
31 // DATA TYPES |
|
32 |
|
33 // FUNCTION PROTOTYPES |
|
34 |
|
35 // FORWARD DECLARATIONS |
|
36 class TAdaptationMessage; |
|
37 |
|
38 // CLASS DECLARATION |
|
39 |
|
40 /** |
|
41 * MASYAdaptation |
|
42 */ |
|
43 class MAdaptation |
|
44 { |
|
45 |
|
46 public: // New functions |
|
47 |
|
48 /** |
|
49 * Indicates bearer about received response message |
|
50 * @return none |
|
51 */ |
|
52 virtual void ProcessResponseL( TAdaptationMessage& aMessage ) = 0; |
|
53 |
|
54 /** |
|
55 * Indicates bearer about received error response message |
|
56 * @return none |
|
57 */ |
|
58 virtual void ProcessErrorResponseL( TInt aErrorCode, TAdaptationMessage& aMessage ) = 0; |
|
59 |
|
60 /** |
|
61 * Indicates bearer about received key event message. |
|
62 * @return none |
|
63 */ |
|
64 virtual void RaiseEventL( TAdaptationMessage& aMessage ) = 0; |
|
65 }; |
|
66 |
|
67 #endif // MADAPTATION_H |
|
68 |
|
69 // End of File |