|
1 /* |
|
2 * Copyright (c) 2005 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef CMCEREFERRECEIVER_H |
|
23 #define CMCEREFERRECEIVER_H |
|
24 |
|
25 #include "mceitcreceiverbase.h" |
|
26 class CMceRefer; |
|
27 class RMce; |
|
28 class CMceMsgBase; |
|
29 |
|
30 |
|
31 class CMceReferReceiver : public CMceItcReceiverBase |
|
32 { |
|
33 public: |
|
34 |
|
35 CMceReferReceiver(RMce& aMce, CMceRefer& aEvent ); |
|
36 |
|
37 CMceReferReceiver(); |
|
38 |
|
39 ~CMceReferReceiver (); |
|
40 |
|
41 private://from CMceItcReceiverBase |
|
42 |
|
43 void IncomingEventL( TMceItcCallBack aEvent, TMceIds& aIds, |
|
44 const TDesC8& aContext ); |
|
45 |
|
46 void IncomingEventL( TMceItcCallBack aEvent, TMceIds& aIds, |
|
47 const TDesC8& aContext, |
|
48 HBufC8* aContent ); |
|
49 |
|
50 void IncomingEventL( TMceItcCallBack aEvent, TMceIds& aIds ); |
|
51 |
|
52 void ErrorOccuredL ( TMceIds& aIds, TInt aError); |
|
53 |
|
54 private:// methods |
|
55 |
|
56 /*void HandleSessionStateChangedL( TMceIds& aIds, |
|
57 const TDesC8& aContext, |
|
58 HBufC8* aContent );*/ |
|
59 |
|
60 CMceMsgBase* DecodeMessageLC( TMceIds& aIds, |
|
61 const TDesC8& aContext ); |
|
62 |
|
63 private:// data |
|
64 |
|
65 CMceRefer& iRefer; |
|
66 |
|
67 // For testing |
|
68 MCE_UNIT_TEST_DEFS |
|
69 |
|
70 }; |
|
71 |
|
72 #endif // end of CMCEREFERRECEIVER_H |
|
73 |
|
74 // End of File |