equal
deleted
inserted
replaced
|
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: Container class to hold Runtime plugin and related data |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_APPMNGR2PLUGINHOLDER_H |
|
20 #define C_APPMNGR2PLUGINHOLDER_H |
|
21 |
|
22 #include <e32base.h> // CBase |
|
23 #include <apmrec.h> // CDataTypeArray |
|
24 |
|
25 class CAppMngr2Runtime; |
|
26 class CAknIconArray; |
|
27 |
|
28 |
|
29 class CAppMngr2PluginHolder : public CBase |
|
30 { |
|
31 public: // constructor and destructor |
|
32 CAppMngr2PluginHolder( CAppMngr2Runtime* aRuntime ); // takes ownership |
|
33 ~CAppMngr2PluginHolder(); |
|
34 |
|
35 public: // new functions |
|
36 CAppMngr2Runtime& Runtime(); |
|
37 CDataTypeArray& DataTypes(); |
|
38 void LoadIconsL( CAknIconArray& aIconArray ); |
|
39 void FetchDataTypesL(); |
|
40 TInt IconIndexBase(); |
|
41 TInt IconIndexMax(); |
|
42 |
|
43 private: // data |
|
44 CAppMngr2Runtime* iRuntime; |
|
45 CDataTypeArray* iDataTypes; |
|
46 TInt iIconIndexBase; |
|
47 TInt iIconCount; |
|
48 }; |
|
49 |
|
50 #endif // C_APPMNGR2PLUGINHOLDER_H |
|
51 |