|
1 /* |
|
2 * Copyright (c) 2002-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 * WV engine pure data API notification handler. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CIMPSPUREHANDLER_H |
|
21 #define CIMPSPUREHANDLER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include "impshandler.h" |
|
26 |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class RImpsPureClient2; |
|
30 class MImpsPureHandler2; |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 class CImpsPureHandler2 :public CImpsHandler2 |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Two-phase constructor. |
|
40 * @param aClient a client session |
|
41 */ |
|
42 static CImpsPureHandler2* NewL( |
|
43 RImpsPureClient2& aClient, |
|
44 TInt aPriority = EPriorityStandard ); |
|
45 |
|
46 /** |
|
47 * Destructor. |
|
48 */ |
|
49 virtual ~CImpsPureHandler2(); |
|
50 |
|
51 private: |
|
52 |
|
53 /** |
|
54 * Call appropriate observer |
|
55 * @param aErrorFields used if error case. NULL or ImpsFields structure |
|
56 */ |
|
57 void HandleEventL( CImpsFields* aErrorFields ); |
|
58 |
|
59 /** |
|
60 * Handle the Pure events |
|
61 */ |
|
62 void HandlePureEventL( ); |
|
63 |
|
64 /** |
|
65 * C++ default constructor. |
|
66 */ |
|
67 CImpsPureHandler2( TInt aPriority, RImpsPureClient2& aClient ); |
|
68 |
|
69 private: // Data |
|
70 |
|
71 MImpsPureHandler2* iHandlerCallBack; |
|
72 |
|
73 }; |
|
74 |
|
75 |
|
76 #endif |
|
77 |