gfxconversion/mifconv/src/mifconv_sourcefile.cpp
branchRCL_3
changeset 2 1f6339ced17d
parent 0 f453ebb75370
equal deleted inserted replaced
1:23f0e6a5b752 2:1f6339ced17d
    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     }