|
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: Reactive authorization responds implementation. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CPENGAUTHORIZATIONRESPOND_H__ |
|
19 #define CPENGAUTHORIZATIONRESPOND_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <E32Base.h> |
|
23 #include "MPEngAuthorizationRespond.h" |
|
24 |
|
25 |
|
26 //FORWARD DECLARATIONS |
|
27 class MPEngAuthorizationManager; |
|
28 |
|
29 |
|
30 // CLASS DECLARATION |
|
31 /** |
|
32 * Reactive authorization responds implementation. |
|
33 * |
|
34 * @since 3.0 |
|
35 */ |
|
36 class CPEngAuthorizationRespond : public CBase, |
|
37 public MPEngAuthorizationRespond |
|
38 { |
|
39 public: // Constructors and destructor |
|
40 |
|
41 /** |
|
42 * Two-phased constructor, |
|
43 */ |
|
44 static CPEngAuthorizationRespond * NewLC(); |
|
45 |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 virtual ~CPEngAuthorizationRespond(); |
|
51 |
|
52 |
|
53 protected: // constructors |
|
54 |
|
55 /** |
|
56 * C++ default constructor. |
|
57 */ |
|
58 CPEngAuthorizationRespond(); |
|
59 |
|
60 public: // New functions |
|
61 |
|
62 |
|
63 |
|
64 /** |
|
65 * |
|
66 * |
|
67 * |
|
68 */ |
|
69 void LockRespondToAuthManagerL( MPEngAuthorizationManager& aAuthMan ); |
|
70 |
|
71 |
|
72 |
|
73 protected: // Functions from MPEngAuthorizationRespond |
|
74 |
|
75 /** |
|
76 * Authorization responds extension interface. |
|
77 * @see MPEngAuthorizationRespond.h |
|
78 * @since 3.0 |
|
79 */ |
|
80 MPEngAuthorizationRespondExt* Extension(); |
|
81 const MPEngAuthorizationRespondExt* Extension() const; |
|
82 |
|
83 |
|
84 /** |
|
85 * Authorization responds internal extension interface. |
|
86 * @see MPEngAuthorizationRespond.h |
|
87 * @since 3.0 |
|
88 */ |
|
89 const MPEngAuthorizationRespondAdvanced* Advanced() const; |
|
90 MPEngAuthorizationRespondAdvanced* Advanced(); |
|
91 |
|
92 |
|
93 /** |
|
94 * Authorization responds cleanup support. |
|
95 * @see MPEngAuthorizationRespond.h |
|
96 * @since 3.0 |
|
97 */ |
|
98 void Close(); |
|
99 |
|
100 |
|
101 |
|
102 private: // Data |
|
103 |
|
104 //OWN: Authorization manager |
|
105 MPEngAuthorizationManager* iAuthManager; |
|
106 |
|
107 }; |
|
108 |
|
109 #endif // CPENGAUTHORIZATIONRESPOND_H__ |
|
110 |
|
111 // End of File |
|
112 |