1 /* |
|
2 * Copyright (c) 2008 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: Abstract factory for Fill Manager |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef C_CMFILLMANAGERFACTORY_H |
|
21 #define C_CMFILLMANAGERFACTORY_H |
|
22 |
|
23 #include <e32std.h> |
|
24 |
|
25 class MCmFmManager; |
|
26 class MCmServiceObserver; |
|
27 class CMdESession; |
|
28 class CCmDmMain; |
|
29 class CCmMmMain; |
|
30 |
|
31 /** |
|
32 * Abstract factory for Fill manager |
|
33 * |
|
34 * @lib cmfillmanager.lib |
|
35 * |
|
36 * @since S60 5.1 |
|
37 */ |
|
38 class CmFillManagerFactory |
|
39 { |
|
40 |
|
41 public: |
|
42 |
|
43 /** |
|
44 * Creates a new instance of Fill Manager |
|
45 * |
|
46 * @since S60 5.1 |
|
47 * @param aObserver, service observer |
|
48 * @param aSession, mde session |
|
49 * @param aDBManager, database manager |
|
50 * @param aMemManager, memory manager |
|
51 * @return pointer to CCmFmMain class |
|
52 */ |
|
53 IMPORT_C static MCmFmManager* NewFillManagerL( |
|
54 MCmServiceObserver* aObserver, CMdESession& aSession, |
|
55 CCmDmMain* aDBManager, CCmMmMain* aMemManager ); |
|
56 |
|
57 /** |
|
58 * Creates a new instance of Fill Manager. Instance is left in |
|
59 * cleanup stack. |
|
60 * |
|
61 * @since S60 5.1 |
|
62 * @param aObserver, service observer |
|
63 * @param aSession, mde session |
|
64 * @param aDBManager, database manager |
|
65 * @param aMemManager, memory manager |
|
66 * @return pointer to MCmFmManager class |
|
67 */ |
|
68 IMPORT_C static MCmFmManager* NewFillManagerLC( |
|
69 MCmServiceObserver* aObserver, CMdESession& aSession, |
|
70 CCmDmMain* aDBManager, CCmMmMain* aMemManager ); |
|
71 |
|
72 }; |
|
73 |
|
74 #endif // C_CMFILLMANAGERFACTORY_H |
|
75 |
|
76 // End of File |
|