gfxconversion/mifconv/src/mifconv_sourcefile.cpp
branchRCL_3
changeset 2 1f6339ced17d
parent 0 f453ebb75370
--- a/gfxconversion/mifconv/src/mifconv_sourcefile.cpp	Fri Feb 19 23:21:59 2010 +0200
+++ b/gfxconversion/mifconv/src/mifconv_sourcefile.cpp	Mon Mar 15 12:42:44 2010 +0200
@@ -47,7 +47,8 @@
 iAnimated( src.IsAnimated() ),
 iMaskFilename( src.iMaskFilename ),
 iContent(src.iContent),
-iContentLen(src.iContentLen)
+iContentLen(src.iContentLen),
+iInfo(EFormatNotImportant)
 {
 }
 
@@ -177,3 +178,16 @@
     iDepth = MifConvArgumentManager::Instance()->ConvertToDepth(iDepthString); 
 }
 
+void MifConvSourceFile::SetCompileInfo(TCompileInfo aInfo)
+    {
+    iInfo = aInfo;
+    }
+
+void MifConvSourceFile::WriteCompileInfo(ostream& aOut)
+    {
+    aOut << iFilename;
+    if (iInfo == ENokiaBitmap)
+        aOut << " (Nokia format)";
+    else if (iInfo == EThirdPartyBitmap)
+        aOut << " (Third party format)";
+    }