aknlayoutcompiler/src/MLCompData2Cdl.cpp
changeset 1 b700e12870ca
parent 0 f58d6ec98e88
--- a/aknlayoutcompiler/src/MLCompData2Cdl.cpp	Thu Dec 17 09:14:18 2009 +0200
+++ b/aknlayoutcompiler/src/MLCompData2Cdl.cpp	Mon Jan 18 21:13:05 2010 +0200
@@ -23,7 +23,7 @@
 #include "MLCompDataParse.h"
 #include "MLAttributesParse.h"
 #include "LayoutCompilerErr.h"
-#include <cdlcompilertoolkit/cdltkprocess.h>
+#include <CdlCompilerToolkit/CdlTkProcess.h>
 #include <fstream>
 #include <iostream>
 #include <algorithm>
@@ -39,7 +39,7 @@
 const int KGeneratedInterfaceMajorVer = 1;
 const int KGeneratedInterfaceMinorVer = 0;
 
-const string KCompDataFileNameSuffix("compData");
+const string KCompDataFileNameSuffix("compdata");
 const string KAttributesFileNameSuffix("attributes");
 
 
@@ -57,7 +57,7 @@
 	{
 	iInterfaceNamesUsed.clear();
 
-	int numExpectedArgs = 4;
+	unsigned int numExpectedArgs = 4;
 	if(args.size() < numExpectedArgs)
 		throw MLCompDataToCdlArgsErr();
 
@@ -151,7 +151,7 @@
     arg = numExpectedArgs-2; 
 
 	// so that we get a list of processed files to output to the comment
-    for(ii = 0; ii < numLayouts; ii++)
+    for(int ii = 0; ii < numLayouts; ii++)
 		comment << args[arg++] << ", ";
     comment << endl; 
 	comment << "// which was generated with timestamp " << mergedLayout->iTimestamp << endl;
@@ -347,7 +347,7 @@
 	aInterface.Header().SetVersion(CCdlTkInterfaceHeader::CVersion(KGeneratedInterfaceMajorVer, KGeneratedInterfaceMinorVer));
 
 	CCdlTkCpp& cpp = aInterface.Cpp();
-	int size = cpp.size();
+//	int size = cpp.size();
 	if(!find(cpp.begin(), cpp.end(), KIncludeLayoutInstanceHeaderScalableDef))
 		cpp.push_back(KIncludeLayoutInstanceHeaderScalableDef);
 	}