|
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 interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __MPENGAUTHORIZATIONRESPOND_H |
|
19 #define __MPENGAUTHORIZATIONRESPOND_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <E32Std.h> |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 class MPEngAuthorizationRespondExt; |
|
26 class MPEngAuthorizationRespondAdvanced; |
|
27 |
|
28 |
|
29 // CLASS DECLARATION |
|
30 /** |
|
31 * Interface for reactive authorization responds. |
|
32 * |
|
33 * @since 3.0 |
|
34 */ |
|
35 class MPEngAuthorizationRespond |
|
36 { |
|
37 private: //Extensions interfaces |
|
38 |
|
39 /** |
|
40 * Authorization responds extension interface. |
|
41 * |
|
42 * @since 3.0 |
|
43 * @return authorization responds extension. |
|
44 */ |
|
45 virtual MPEngAuthorizationRespondExt* Extension() = 0; |
|
46 virtual const MPEngAuthorizationRespondExt* Extension() const = 0; |
|
47 |
|
48 |
|
49 |
|
50 public: //Presence Engine internal interface access |
|
51 |
|
52 /** |
|
53 * Presence Engine internal reactive authorization |
|
54 * responds interface |
|
55 * |
|
56 * @since 3.0 |
|
57 * @return Authorization responds internal interface. |
|
58 */ |
|
59 virtual const MPEngAuthorizationRespondAdvanced* Advanced() const = 0; |
|
60 virtual MPEngAuthorizationRespondAdvanced* Advanced() = 0; |
|
61 |
|
62 |
|
63 |
|
64 public: //Cleanup support & destructor |
|
65 |
|
66 /** |
|
67 * Support for authorization responds cleanup. |
|
68 * |
|
69 * When this method is called, concrete authorization |
|
70 * respond object is deleted and all its runtime |
|
71 * resources are freed. |
|
72 * ==> Authorization respond can be pushed on the |
|
73 * CleanupStack using CleanupClosePushL(). |
|
74 * |
|
75 * @since 3.0 |
|
76 */ |
|
77 virtual void Close() = 0; |
|
78 |
|
79 |
|
80 /** |
|
81 * Inline virtual destructor. Concrete authorization |
|
82 * respond object can be deleted through |
|
83 * this interface. |
|
84 * |
|
85 * @since 3.0 |
|
86 */ |
|
87 virtual ~MPEngAuthorizationRespond() {}; |
|
88 |
|
89 }; |
|
90 #endif // __MPENGAUTHORIZATIONRESPOND_H |
|
91 |
|
92 // End of File |
|
93 |