|
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: List Library dll interface |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __PENGLISTLIBRARYFACTORY_H |
|
19 #define __PENGLISTLIBRARYFACTORY_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> |
|
23 |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class CPEngSessionSlotId; |
|
27 class MPEngContactListManager; |
|
28 class MPEngTransactionFactory; |
|
29 class MPEngAttributeListManager; |
|
30 class MPEngTransactionFactory; |
|
31 class MPEngAuthorizationManager; |
|
32 |
|
33 |
|
34 /** |
|
35 * List Library dll interface. |
|
36 * |
|
37 * @lib PEngListLib2 |
|
38 * @since 3.0 |
|
39 */ |
|
40 class PEngListLibraryFactory |
|
41 { |
|
42 public: |
|
43 |
|
44 /** |
|
45 * Attribute list manager |
|
46 * Returned object is reference counted singleton object |
|
47 * |
|
48 * @since 3.0 |
|
49 * @param aSessionSlot SessionSlotId identifying the slot |
|
50 * for which to get the manager. |
|
51 * @return attribute list manager |
|
52 */ |
|
53 IMPORT_C static MPEngAttributeListManager* AttributeListsManagerL( |
|
54 const CPEngSessionSlotId& aSessionSlot ); |
|
55 |
|
56 /** |
|
57 * Contact list manager |
|
58 * Returned object is reference counted singleton object |
|
59 * |
|
60 * @since 3.0 |
|
61 * @param aSessionSlot SessionSlotId identifying the slot |
|
62 * for which to get the manager. |
|
63 * @return Contact list manager |
|
64 */ |
|
65 IMPORT_C static MPEngContactListManager* ContactListManagerL( |
|
66 const CPEngSessionSlotId& aSessionSlot ); |
|
67 |
|
68 |
|
69 /** |
|
70 * Authorization manager |
|
71 * Returned object is reference counted singleton object |
|
72 * |
|
73 * @since 3.0 |
|
74 * @param aSessionSlot SessionSlotId identifying the slot |
|
75 * for which to get the manager. |
|
76 * @return Authorization manager |
|
77 */ |
|
78 IMPORT_C static MPEngAuthorizationManager* AuthorizationManagerL( |
|
79 const CPEngSessionSlotId& aSessionSlot ); |
|
80 |
|
81 |
|
82 /** |
|
83 * Attribute list transaction manager. |
|
84 * |
|
85 * @since 3.0 |
|
86 * @param aSessionSlot SessionSlotId identifying the slot |
|
87 * for which to get the manager. |
|
88 * @return attribute list transaction factory |
|
89 */ |
|
90 IMPORT_C static MPEngTransactionFactory* AttributeListsTransactionManagerLC( |
|
91 const CPEngSessionSlotId& aSessionSlot ); |
|
92 |
|
93 /** |
|
94 * Contact list transaction manager. |
|
95 * |
|
96 * @since 3.0 |
|
97 * @param aSessionSlot SessionSlotId identifying the slot |
|
98 * for which to get the manager. |
|
99 * @return Contact list transaction factory |
|
100 */ |
|
101 IMPORT_C static MPEngTransactionFactory* ContactListTransactionManagerLC( |
|
102 const CPEngSessionSlotId& aSessionSlot ); |
|
103 |
|
104 |
|
105 /** |
|
106 * Authorization transaction manager. |
|
107 * |
|
108 * @since 3.0 |
|
109 * @param aSessionSlot SessionSlotId identifying the slot |
|
110 * for which to get the manager. |
|
111 * @return Authorization transaction factory |
|
112 */ |
|
113 IMPORT_C static MPEngTransactionFactory* AuthorizationTransactionManagerLC( |
|
114 const CPEngSessionSlotId& aSessionSlot ); |
|
115 |
|
116 |
|
117 private: // Prohibited constructors and destructor |
|
118 |
|
119 PEngListLibraryFactory(); |
|
120 ~PEngListLibraryFactory(); |
|
121 |
|
122 }; |
|
123 |
|
124 #endif // __PENGLISTLIBRARYFACTORY_H |
|
125 |
|
126 // End of File |