equal
deleted
inserted
replaced
|
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: Factory for presence manager |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CAPRESENCEMANAGER_H |
|
21 #define CAPRESENCEMANAGER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32def.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class MCAPresence; |
|
28 class MCASettings; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 /** |
|
33 * Factory for presence manager. |
|
34 * |
|
35 * @lib CAPresence.dll |
|
36 * @since 2.1 |
|
37 */ |
|
38 class CAPresenceManager // CSI: 51 # This is not a C-class |
|
39 // although it begins with C. |
|
40 { |
|
41 public: // New functions |
|
42 |
|
43 /** |
|
44 * Creates instance of presence manager |
|
45 * @since 2.1 |
|
46 * @param aSettingsAPI Pointer to settings API. First call of InstanceL- |
|
47 * method must have valid settings API pointer, otherwise InstanceL will |
|
48 * leave. Next calls can be made without aSettingsAPI parameter. |
|
49 * @return MCAPresence pointer |
|
50 */ |
|
51 IMPORT_C static MCAPresence* InstanceL( MCASettings* aSettingsAPI = NULL ); |
|
52 |
|
53 /** |
|
54 * Release the instance from TLS |
|
55 * @since 2.1 |
|
56 */ |
|
57 IMPORT_C static void Release(); |
|
58 }; |
|
59 |
|
60 #endif // CAPRESENCEMANAGER_H |
|
61 |
|
62 // End of File |