equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MLCompData2LayPerf_H |
|
20 #define MLCompData2LayPerf_H |
|
21 |
|
22 #include <string> |
|
23 #include <vector> |
|
24 #include <iosfwd> |
|
25 #include "MLCompData.h" |
|
26 using namespace std; |
|
27 |
|
28 #include <cdlcompilertoolkit/cdltkinterface.h> |
|
29 using namespace CdlCompilerToolkit; |
|
30 |
|
31 |
|
32 /** |
|
33 * MLCompDataToLayPerf |
|
34 * Compiler mode for rescaling a layout |
|
35 */ |
|
36 class MLCompDataToLayPerf |
|
37 { |
|
38 public: |
|
39 static int Process(const vector<string>& args); |
|
40 static void ShowHelp(ostream& stream); |
|
41 |
|
42 private: |
|
43 MLCompDataToLayPerf(const string& aCdlName, CCdlTkInterface& aInterface, TMLCompData& aSourceLayout, const string& aDestLayoutName); |
|
44 void WriteLayout(); |
|
45 |
|
46 private: |
|
47 TMLCompData& iLayout; |
|
48 string iDestLayoutName; |
|
49 string iCdlName; |
|
50 CCdlTkInterface& iInterface; // not owned |
|
51 }; |
|
52 |
|
53 |
|
54 #endif // MLCompData2LayPerf_H |