diff -r 000000000000 -r f58d6ec98e88 aknlayoutcompiler/inc/MLCompData2LayPerf.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aknlayoutcompiler/inc/MLCompData2LayPerf.h Thu Dec 17 09:14:18 2009 +0200 @@ -0,0 +1,54 @@ +/* +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + +#ifndef MLCompData2LayPerf_H +#define MLCompData2LayPerf_H + +#include +#include +#include +#include "MLCompData.h" +using namespace std; + +#include +using namespace CdlCompilerToolkit; + + +/** +* MLCompDataToLayPerf +* Compiler mode for rescaling a layout +*/ +class MLCompDataToLayPerf + { +public: + static int Process(const vector& args); + static void ShowHelp(ostream& stream); + +private: + MLCompDataToLayPerf(const string& aCdlName, CCdlTkInterface& aInterface, TMLCompData& aSourceLayout, const string& aDestLayoutName); + void WriteLayout(); + +private: + TMLCompData& iLayout; + string iDestLayoutName; + string iCdlName; + CCdlTkInterface& iInterface; // not owned + }; + + +#endif // MLCompData2LayPerf_H