|
1 /* |
|
2 * Copyright (c) 2007 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 MImObjectFactory |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CIMOBJECTFACTORYIMP_H |
|
19 #define CIMOBJECTFACTORYIMP_H |
|
20 |
|
21 #include <imobjectfactory.h> |
|
22 #include "ximpapiobjbase.h" |
|
23 #include "imapiobjbase.h" |
|
24 |
|
25 class MImGroupInfo; |
|
26 class MImConversationInfo; |
|
27 class MImInvitationInfo; |
|
28 class MImSearchInfo; |
|
29 |
|
30 /** |
|
31 * MImObjectFactory API object implementation. |
|
32 * |
|
33 * @lib immanager.dll |
|
34 * @since S60 v3.2 |
|
35 */ |
|
36 class CImObjectFactoryImp: public CXIMPApiObjBase, |
|
37 public MImObjectFactory |
|
38 { |
|
39 public: |
|
40 /** The class ID. */ |
|
41 enum { KClassId = IMIMP_CLSID_CIMOBJECTFACTORYIMP }; |
|
42 |
|
43 |
|
44 public: |
|
45 |
|
46 IMPORT_C static CImObjectFactoryImp* NewL(); |
|
47 ~CImObjectFactoryImp(); |
|
48 |
|
49 private: |
|
50 CImObjectFactoryImp(); |
|
51 |
|
52 |
|
53 |
|
54 public: // From MXIMPBase |
|
55 |
|
56 /** |
|
57 * Implementation of MXIMPBase interface methods |
|
58 * @see MXIMPBase |
|
59 */ |
|
60 XIMPIMP_DECLARE_IF_BASE_METHODS |
|
61 |
|
62 |
|
63 public: //From MImObjectFactory |
|
64 |
|
65 MImConversationInfo* NewImConversationInfoLC(); |
|
66 //MImGroupInfo* NewImGroupInfoLC(); |
|
67 //MImInvitationInfo* NewImInvitationInfoLC(); |
|
68 //MImSearchInfo* NewImSearchInfoLC(); |
|
69 |
|
70 }; |
|
71 |
|
72 |
|
73 #endif // CIMOBJECTFACTORYIMP_H |