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 SCRIPT_H |
|
20 #define SCRIPT_H |
|
21 |
|
22 #include <iosfwd> |
|
23 #include <vector> |
|
24 #include <string> |
|
25 using namespace std; |
|
26 |
|
27 /** |
|
28 * AknLayoutCompilerScript |
|
29 * Intended to be a script interpreter for the layout compiler - not yet complete |
|
30 */ |
|
31 class AknLayoutCompilerScript |
|
32 { |
|
33 public: |
|
34 static int Process(const vector<string>& args); |
|
35 static void ShowHelp(ostream& stream); |
|
36 |
|
37 AknLayoutCompilerScript(istream& aIn); |
|
38 void Process(); |
|
39 |
|
40 private: |
|
41 void ProcessLine(string& aLine); |
|
42 void Process(const string& aFunc, const vector<string>& aParamList, const string& aResult); |
|
43 |
|
44 private: |
|
45 istream& iIn; |
|
46 }; |
|
47 |
|
48 #endif |