|
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Implementation of the Header file for Class Elf2E32 |
|
15 // @internalComponent |
|
16 // @released |
|
17 // |
|
18 // |
|
19 |
|
20 #ifndef ELF2E32_H |
|
21 #define ELF2E32_H |
|
22 |
|
23 #include "pl_common.h" |
|
24 #include "parametermanager.h" |
|
25 |
|
26 class UseCaseBase; |
|
27 class ParameterListInterface; |
|
28 /** |
|
29 This class gets the single instance of the ParameterManager. |
|
30 |
|
31 @internalComponent |
|
32 @released |
|
33 */ |
|
34 class Elf2E32 |
|
35 { |
|
36 |
|
37 public: |
|
38 Elf2E32(); |
|
39 Elf2E32(int argc, char** argv); |
|
40 virtual ~Elf2E32(); |
|
41 UseCaseBase * SelectUseCase(); |
|
42 int Execute(); |
|
43 static void ValidateDSOGeneration(ParameterListInterface *aParameterListInterface, ETargetType aTargetType); |
|
44 static void ValidateE32ImageGeneration(ParameterListInterface *aParameterListInterface, ETargetType aTargetType); |
|
45 static ParameterListInterface * GetInstance(int aArgc, char ** aArgv); |
|
46 |
|
47 private: |
|
48 |
|
49 ETargetType iTargetType; |
|
50 |
|
51 /** Pointer to the ParameterListInterface which is the abstract base class */ |
|
52 ParameterListInterface * iParameterListInterface; |
|
53 |
|
54 /** Pointer to the UseCaseBase and says whether the usecase is CreateLibrary or CreateDLL or CreateEXE*/ |
|
55 UseCaseBase * iUseCase; |
|
56 |
|
57 /** Static Pointer to the ParameterListInterface */ |
|
58 static ParameterListInterface * iInstance; |
|
59 }; |
|
60 |
|
61 |
|
62 #endif // ELF2E32_H |