1 /* |
|
2 * Copyright (c) 2007-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: factory plugin header for CoverFlow |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MULCOVERFLOWWIDGETFACTORYPLUGIN_H |
|
19 #define MULCOVERFLOWWIDGETFACTORYPLUGIN_H |
|
20 |
|
21 |
|
22 #include <ecom/implementationproxy.h> |
|
23 #include <alf/ialffactoryplugin.h> |
|
24 #include <osn/osndefines.h> |
|
25 |
|
26 |
|
27 namespace Alf |
|
28 { |
|
29 class IfId; |
|
30 |
|
31 /** |
|
32 * Plugin factory to create widget factory |
|
33 * @lib alfwidgetfactory.dll |
|
34 */ |
|
35 /// @bug comment:avanhata:3/7/2008 This class is only used from its own cpp file, |
|
36 /// so the definition can be moved into the cpp and the header file removed. |
|
37 class MulCoverFlowWidgetFactoryPlugin: public IAlfFactoryPlugin |
|
38 { |
|
39 public: |
|
40 /** |
|
41 * Two-phased symbian constructor. |
|
42 * |
|
43 * @return New instance of this factory plugin. |
|
44 */ |
|
45 static MulCoverFlowWidgetFactoryPlugin* NewL(); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 virtual ~MulCoverFlowWidgetFactoryPlugin(); |
|
51 |
|
52 public: // from MAlfPluginFactory |
|
53 |
|
54 IAlfInterfaceBase* createProduct(const char* aProduct,void* aInitData); |
|
55 |
|
56 int productCount()const; |
|
57 |
|
58 const char* productInfo(int aIndex)const; |
|
59 |
|
60 IAlfInterfaceBase* makeInterface(const IfId& aType); |
|
61 |
|
62 }; |
|
63 |
|
64 } // namespace Alf |
|
65 |
|
66 /// @bug comment:avanhata:3/7/2008 does not need to be declared - just define in cpp |
|
67 // Exported factory function required by ECOM-framework |
|
68 IMPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount); |
|
69 |
|
70 #endif //MULCOVERFLOWWIDGETFACTORYPLUGIN_H |
|
71 |
|
72 //End of file |
|