|
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: Implementation of MPresenceObjectFactory |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CPRESENCEOBJECTFACTORYIMP_H |
|
19 #define CPRESENCEOBJECTFACTORYIMP_H |
|
20 |
|
21 #include <presenceobjectfactory.h> |
|
22 #include "ximpapiobjbase.h" |
|
23 #include "presenceapiobjbase.h" |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 /** |
|
29 * MPresenceObjectFactory API object implementation. |
|
30 * |
|
31 * @lib presencemanager.dll |
|
32 * @since S60 v3.2 |
|
33 */ |
|
34 class CPresenceObjectFactoryImp: public CXIMPApiObjBase, |
|
35 public MPresenceObjectFactory |
|
36 { |
|
37 public: |
|
38 /** The class ID. */ |
|
39 enum { KClassId = PRIMP_CLSID_CPRESENCEOBJECTFACTORYIMP }; |
|
40 |
|
41 |
|
42 public: |
|
43 |
|
44 IMPORT_C static CPresenceObjectFactoryImp* NewL(); |
|
45 ~CPresenceObjectFactoryImp(); |
|
46 |
|
47 private: |
|
48 CPresenceObjectFactoryImp(); |
|
49 |
|
50 |
|
51 |
|
52 public: // From MXIMPBase |
|
53 |
|
54 /** |
|
55 * Implementation of MXIMPBase interface methods |
|
56 * @see MXIMPBase |
|
57 */ |
|
58 XIMPIMP_DECLARE_IF_BASE_METHODS |
|
59 |
|
60 |
|
61 public: //From MPresenceObjectFactory |
|
62 |
|
63 |
|
64 MPresentityGroupInfo* NewPresentityGroupInfoLC(); |
|
65 MPresentityGroupMemberInfo* NewPresentityGroupMemberInfoLC(); |
|
66 MPresenceWatcherInfo* NewPresenceWatcherInfoLC(); |
|
67 MPresenceGrantRequestInfo* NewPresenceGrantRequestInfoLC(); |
|
68 MPresenceInfo* NewPresenceInfoLC(); |
|
69 MPresenceInfoFilter* NewPresenceInfoFilterLC(); |
|
70 MPersonPresenceInfo* NewPersonPresenceInfoLC(); |
|
71 MServicePresenceInfo* NewServicePresenceInfoLC(); |
|
72 MDevicePresenceInfo* NewDevicePresenceInfoLC(); |
|
73 MPresenceInfoField* NewInfoFieldLC(); |
|
74 MPresenceInfoFieldValueEnum* NewEnumInfoFieldLC(); |
|
75 MPresenceInfoFieldValueText* NewTextInfoFieldLC(); |
|
76 MPresenceInfoFieldValueBinary* NewBinaryInfoFieldLC(); |
|
77 MPresenceBlockInfo* NewPresenceBlockInfoLC(); |
|
78 }; |
|
79 |
|
80 |
|
81 #endif // CPRESENCEOBJECTFACTORYIMP_H |