|
1 /* |
|
2 * Copyright (c) 2009 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: s_presenceobjectfactory.h |
|
15 * |
|
16 */ |
|
17 #ifndef MPRESENCEOBJECTFACTORYSTUB_H |
|
18 #define MPRESENCEOBJECTFACTORYSTUB_H |
|
19 |
|
20 #include <presenceobjectfactory.h> |
|
21 |
|
22 class MPresenceObjectFactoryStub : public MPresenceObjectFactory |
|
23 { |
|
24 public: |
|
25 |
|
26 MPresentityGroupInfo* NewPresentityGroupInfoLC(); |
|
27 |
|
28 MPresentityGroupMemberInfo* NewPresentityGroupMemberInfoLC(); |
|
29 |
|
30 MPresenceWatcherInfo* NewPresenceWatcherInfoLC(); |
|
31 |
|
32 MPresenceGrantRequestInfo* NewPresenceGrantRequestInfoLC(); |
|
33 |
|
34 MPresenceInfo* NewPresenceInfoLC(); |
|
35 |
|
36 MPresenceInfoFilter* NewPresenceInfoFilterLC(); |
|
37 |
|
38 MPersonPresenceInfo* NewPersonPresenceInfoLC(); |
|
39 |
|
40 MServicePresenceInfo* NewServicePresenceInfoLC(); |
|
41 |
|
42 MDevicePresenceInfo* NewDevicePresenceInfoLC(); |
|
43 |
|
44 MPresenceInfoField* NewInfoFieldLC(); |
|
45 |
|
46 MPresenceInfoFieldValueEnum* NewEnumInfoFieldLC(); |
|
47 |
|
48 MPresenceInfoFieldValueText* NewTextInfoFieldLC(); |
|
49 |
|
50 MPresenceInfoFieldValueBinary* NewBinaryInfoFieldLC(); |
|
51 |
|
52 MPresenceBlockInfo* NewPresenceBlockInfoLC(); |
|
53 |
|
54 const TAny* GetInterface( |
|
55 TInt32 aInterfaceId, |
|
56 TIfGetOps aOps ) const; |
|
57 |
|
58 TAny* GetInterface( |
|
59 TInt32 aInterfaceId, |
|
60 TIfGetOps aOps ); |
|
61 |
|
62 TInt32 GetInterfaceId() const; |
|
63 }; |
|
64 |
|
65 |
|
66 #endif // MPRESENCEOBJECTFACTORY_H |
|
67 |
|
68 |
|
69 |