|
1 /* |
|
2 * Copyright (c) 2002 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: Request handler observer abstract interface |
|
15 Completion of all asynchronous request completion is |
|
16 * signaled here |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 #ifndef __MPENGREQUESTHANDLEROBSERVER_H__ |
|
23 #define __MPENGREQUESTHANDLEROBSERVER_H__ |
|
24 |
|
25 // INCLUDES |
|
26 #include <e32def.h> |
|
27 |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 class MPEngRequestHandler; |
|
31 |
|
32 // CLASS DECLARATION |
|
33 /** |
|
34 * Request handler observer abstract interface |
|
35 * Completion of all asynchronous request completion is |
|
36 * signaled here |
|
37 * |
|
38 * @lib PEngServer2 |
|
39 * @since 3.0 |
|
40 */ |
|
41 class MPEngRequestHandlerObserver |
|
42 { |
|
43 public: // New functions of RequestHandlerObserver |
|
44 |
|
45 /** |
|
46 * Remove calling request handler from array of pending requests |
|
47 * |
|
48 * This is called when request handler is completed at its |
|
49 * destruction |
|
50 * |
|
51 * @since 3.0 |
|
52 * @param aRequestHandler completed request handler to be removed |
|
53 */ |
|
54 virtual void CompleteRequestHandler( |
|
55 MPEngRequestHandler* aRequestHandler ) = 0; |
|
56 |
|
57 /** |
|
58 * Set CSP holder to the Open state |
|
59 * |
|
60 * All resources needed for the Open state of the session |
|
61 * are loaded |
|
62 * No notification is sent!! |
|
63 * |
|
64 * @since 3.0 |
|
65 */ |
|
66 virtual void SetCSPSessionOpenedL() = 0; |
|
67 |
|
68 protected: //Destructor |
|
69 |
|
70 /** |
|
71 * Virtual inline destructor. |
|
72 * |
|
73 * Concrete Request Handler can be |
|
74 * destroyed using this interface. |
|
75 */ |
|
76 virtual ~MPEngRequestHandlerObserver() {}; |
|
77 |
|
78 }; |
|
79 |
|
80 #endif // __MPENGREQUESTHANDLEROBSERVER_H__ |
|
81 |
|
82 // End of File |