|
1 /* |
|
2 * Copyright (c) 2006 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: IMPS Protocol presence features implementation for Presence Framework |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __CIMPSPROTOCOLPRESENCEFEATURES_H__ |
|
21 #define __CIMPSPROTOCOLPRESENCEFEATURES_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <protocolpresencefeatures.h> |
|
26 #include <protocolpresencewatching.h> |
|
27 #include <protocolpresencepublishing.h> |
|
28 #include <protocolpresentitygroups.h> |
|
29 #include <protocolpresenceauthorization.h> |
|
30 #include <cimpspluginconnectionmanager.h> |
|
31 class CImpsProtocolPresenceWatching; |
|
32 class CImpsProtocolPresencePublishing; |
|
33 class CImpsProtocolPresentityGroups; |
|
34 class CImpsProtocolPresenceAuthorization; |
|
35 |
|
36 /** |
|
37 * CImpsProtocolPresenceFeatures |
|
38 * |
|
39 * Imps Protocol Connection Object. Protocol Connection Object has connection Manager. |
|
40 * |
|
41 * @lib ?library |
|
42 * @since S60 v4.0 |
|
43 */ |
|
44 class CImpsProtocolPresenceFeatures : |
|
45 public CBase, |
|
46 public MProtocolPresenceFeatures |
|
47 { |
|
48 |
|
49 public: |
|
50 |
|
51 static CImpsProtocolPresenceFeatures* NewL( CImpsPluginConnectionManager& aConnMan ); |
|
52 |
|
53 |
|
54 ~CImpsProtocolPresenceFeatures(); |
|
55 |
|
56 private: |
|
57 |
|
58 CImpsProtocolPresenceFeatures(); |
|
59 |
|
60 |
|
61 void ConstructL( CImpsPluginConnectionManager& aConnMan ); |
|
62 |
|
63 public: // from MXIMPBase |
|
64 |
|
65 TAny* GetInterface( TInt32 aInterfaceId, |
|
66 TIfGetOps aOptions ); |
|
67 |
|
68 const TAny* GetInterface( TInt32 aInterfaceId, |
|
69 TIfGetOps aOptions ) const; |
|
70 |
|
71 |
|
72 TInt32 GetInterfaceId() const; |
|
73 |
|
74 public : |
|
75 |
|
76 // From Access to MProtocolPresenceFeatures |
|
77 MProtocolPresenceWatching& PresenceWatching(); |
|
78 MProtocolPresencePublishing& PresencePublishing(); |
|
79 MProtocolPresentityGroups& PresentityGroups(); |
|
80 MProtocolPresenceAuthorization& PresenceAuthorization(); |
|
81 |
|
82 private : //data members |
|
83 |
|
84 CImpsProtocolPresenceWatching* iWatching; |
|
85 CImpsProtocolPresencePublishing* iPublishing; |
|
86 CImpsProtocolPresentityGroups* iPresentityGroups; |
|
87 CImpsProtocolPresenceAuthorization* iAuthrozation; |
|
88 |
|
89 }; |
|
90 |
|
91 #endif //__CIMPSPROTOCOLPRESENCEFEATURES_H__ |