|
1 /* |
|
2 * Copyright (c) 2002-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: Factory for creating CXnAnimation -component |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef _XNANIMATIONFACTORY_H |
|
19 #define _XNANIMATIONFACTORY_H |
|
20 |
|
21 // INCLUDES |
|
22 #include "xncomponentfactory.h" |
|
23 #include <e32base.h> |
|
24 #include <e32std.h> |
|
25 |
|
26 #include <ecom/ecom.h> |
|
27 #include <ecom/implementationproxy.h> |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 class CXnComponent; |
|
31 class CXnMap; |
|
32 class CXnType; |
|
33 |
|
34 // CLASS DECLARATION |
|
35 /** |
|
36 * @ingroup group_xnanimationfactory |
|
37 * Layout Area UI factory interface for creating UI representations of the layout areas. |
|
38 * This class is wrapper for containing CAnimation |
|
39 * |
|
40 * @lib xn3animationfactory.dll |
|
41 * @since Series 60 3.1 |
|
42 */ |
|
43 // inheritance order must be this, despite codescanner warnings |
|
44 class CXnAnimationFactory : public MXnComponentFactory, public CBase |
|
45 { |
|
46 public: // Constructors and destructor |
|
47 |
|
48 /** |
|
49 * Two-phased constructor. |
|
50 */ |
|
51 static CXnAnimationFactory* NewL(); |
|
52 |
|
53 /** |
|
54 * Destructor. |
|
55 */ |
|
56 virtual ~CXnAnimationFactory(); |
|
57 |
|
58 public: // Functions from base classes |
|
59 |
|
60 /** |
|
61 * @see MXnComponentFactory.h |
|
62 */ |
|
63 TXnComponentFactoryResponse MakeXnComponentL( |
|
64 CXnNodePluginIf& aNode, |
|
65 CXnComponent*& aTargetComponent |
|
66 ); |
|
67 |
|
68 /** |
|
69 * @see MXnComponentFactory.h |
|
70 */ |
|
71 CXnControlAdapter* MakeXnControlAdapterL( |
|
72 CXnNodePluginIf& aNode, |
|
73 CXnControlAdapter* aParent = NULL |
|
74 ); |
|
75 |
|
76 private: |
|
77 |
|
78 /** |
|
79 * 2nd phase constructor. |
|
80 */ |
|
81 void ConstructL(); |
|
82 |
|
83 /** |
|
84 * C++ default constructor. |
|
85 */ |
|
86 CXnAnimationFactory(); |
|
87 }; |
|
88 |
|
89 // Exported factory function required by ECOM-framework |
|
90 IMPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount); |
|
91 |
|
92 #endif // _XNANIMATIONFACTORY_H |
|
93 |
|
94 // End of File |