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