|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __SUITEOBJECTFACTORY_H__ |
|
20 #define __SUITEOBJECTFACTORY_H__ |
|
21 |
|
22 #include <e32base.h> |
|
23 // FORWARD DECLARATION |
|
24 |
|
25 class CGECODefaultObjectFactory; |
|
26 class MGECOAttributeProvider; |
|
27 |
|
28 /** |
|
29 * Menu Engine Object factory. |
|
30 */ |
|
31 NONSHARABLE_CLASS( CSuiteObjectFactory ): public CGECODefaultObjectFactory |
|
32 { |
|
33 |
|
34 public: // construction |
|
35 |
|
36 /** |
|
37 * Destructor. |
|
38 */ |
|
39 virtual ~CSuiteObjectFactory(); |
|
40 |
|
41 /** |
|
42 * Two-phased constructor. |
|
43 * @return The created object. |
|
44 */ |
|
45 static CSuiteObjectFactory* NewL( ); |
|
46 |
|
47 protected: // construction |
|
48 |
|
49 /** |
|
50 * Constructor. |
|
51 */ |
|
52 CSuiteObjectFactory(); |
|
53 |
|
54 public: // from CGECOObjectFactoryBase |
|
55 |
|
56 /** |
|
57 * Initializes the current object with attribute provider data. |
|
58 * @param aAttributeProvider Attribute provider for data initialization. |
|
59 */ |
|
60 void InitializeObjectL( |
|
61 MGECOAttributeProvider& aAttributeProvider ); |
|
62 |
|
63 }; |
|
64 |
|
65 #endif // __SUITEOBJECTFACTORY_H__ |