gfxconversion/mifconv/src/mifconv_sourcefile.cpp
changeset 12 9b222d6b819d
parent 0 f453ebb75370
equal deleted inserted replaced
0:f453ebb75370 12:9b222d6b819d
    45 iDisplayMode(src.iDisplayMode),
    45 iDisplayMode(src.iDisplayMode),
    46 iMaskDisplayMode(src.iMaskDisplayMode),
    46 iMaskDisplayMode(src.iMaskDisplayMode),
    47 iAnimated( src.IsAnimated() ),
    47 iAnimated( src.IsAnimated() ),
    48 iMaskFilename( src.iMaskFilename ),
    48 iMaskFilename( src.iMaskFilename ),
    49 iContent(src.iContent),
    49 iContent(src.iContent),
    50 iContentLen(src.iContentLen)
    50 iContentLen(src.iContentLen),
       
    51 iInfo(EFormatNotImportant)
    51 {
    52 {
    52 }
    53 }
    53 
    54 
    54 MifConvSourceFile::~MifConvSourceFile()
    55 MifConvSourceFile::~MifConvSourceFile()
    55 {}
    56 {}
   175         iDepthString = MifConvString(depthAndMask.begin()+1, depthAndMask.end());
   176         iDepthString = MifConvString(depthAndMask.begin()+1, depthAndMask.end());
   176     }
   177     }
   177     iDepth = MifConvArgumentManager::Instance()->ConvertToDepth(iDepthString); 
   178     iDepth = MifConvArgumentManager::Instance()->ConvertToDepth(iDepthString); 
   178 }
   179 }
   179 
   180 
       
   181 void MifConvSourceFile::SetCompileInfo(TCompileInfo aInfo)
       
   182     {
       
   183     iInfo = aInfo;
       
   184     }
       
   185 
       
   186 void MifConvSourceFile::WriteCompileInfo(ostream& aOut)
       
   187     {
       
   188     aOut << iFilename;
       
   189     if (iInfo == ENokiaBitmap)
       
   190         aOut << " (Nokia format)";
       
   191     else if (iInfo == EThirdPartyBitmap)
       
   192         aOut << " (Third party format)";
       
   193     }