|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalTechnology |
|
19 */ |
|
20 |
|
21 #ifndef __ELEMENTS_MSGINTERCEPTCLIENT_H__ |
|
22 #define __ELEMENTS_MSGINTERCEPTCLIENT_H__ |
|
23 |
|
24 #include <elements/nm_signatures.h> |
|
25 #include <elements/sd_apiextensionclient.h> |
|
26 |
|
27 class RMessageInterceptor : public Den::RApiExtSessionBase |
|
28 { |
|
29 public: |
|
30 IMPORT_C void Close(); |
|
31 |
|
32 protected: |
|
33 RBuf8 iReqAndRespEventBuf; |
|
34 }; |
|
35 |
|
36 class RMessageInterceptorFM : public RMessageInterceptor |
|
37 { |
|
38 public: |
|
39 IMPORT_C TInt Open(Den::RExtendableSessionBase& aExtendableInterface); |
|
40 IMPORT_C TInt EnableFallibleMode(TInt aCount); |
|
41 IMPORT_C void ConfigureFallibleMessagesL(RArray<Messages::TNodeSignal::TMessageId>& aArray/*, TAction& aAction = TDefaultAction*/); |
|
42 IMPORT_C TBool CheckFinished(); |
|
43 }; |
|
44 |
|
45 class RMessageInterceptorPM : public RMessageInterceptor |
|
46 { |
|
47 public: |
|
48 IMPORT_C TInt Open(Den::RExtendableSessionBase& aExtendableInterface); |
|
49 |
|
50 // pattern control |
|
51 //IMPORT_C TInt Enable(); |
|
52 //IMPORT_C void Disable(); |
|
53 }; |
|
54 |
|
55 #endif // __ELEMENTS_MSGINTERCEPTCLIENT_H__ |
|
56 |