gfxconversion/mifconv/src/mifconv_sourcefile.cpp
changeset 12 9b222d6b819d
parent 0 f453ebb75370
--- a/gfxconversion/mifconv/src/mifconv_sourcefile.cpp	Tue Feb 02 01:11:11 2010 +0200
+++ b/gfxconversion/mifconv/src/mifconv_sourcefile.cpp	Fri Apr 16 15:32:00 2010 +0300
@@ -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)";
+    }