gfxconversion/mifconv/inc/mifconv_sourcefile.h
branchRCL_3
changeset 2 1f6339ced17d
parent 0 f453ebb75370
equal deleted inserted replaced
1:23f0e6a5b752 2:1f6339ced17d
    23 
    23 
    24 class MifConvSourceFile
    24 class MifConvSourceFile
    25 {
    25 {
    26 public:
    26 public:
    27 
    27 
       
    28     enum TCompileInfo
       
    29         {
       
    30         EFormatNotImportant,
       
    31         ENokiaBitmap,
       
    32         EThirdPartyBitmap
       
    33         };
       
    34     
    28 	/**
    35 	/**
    29 	 * Default constructor
    36 	 * Default constructor
    30 	 */
    37 	 */
    31 	MifConvSourceFile();
    38 	MifConvSourceFile();
    32 
    39 
   172      * Returns display mode of the mask file.
   179      * Returns display mode of the mask file.
   173      * @return Display mode enumeration value of the mask file.
   180      * @return Display mode enumeration value of the mask file.
   174      */
   181      */
   175     IconDisplayMode MaskDisplayMode() const;
   182     IconDisplayMode MaskDisplayMode() const;
   176 
   183 
       
   184     void SetCompileInfo(TCompileInfo aInfo);
       
   185     void WriteCompileInfo(ostream& aOut);
       
   186     
   177 protected:
   187 protected:
   178  
   188  
   179     /**
   189     /**
   180      * Parses icon depth parameter from the user given argument string. If, for example, user
   190      * Parses icon depth parameter from the user given argument string. If, for example, user
   181      * has given a string "/c8,8" as a depth and mask for the file, this function returns <code>IconDepth_c8</code>
   191      * has given a string "/c8,8" as a depth and mask for the file, this function returns <code>IconDepth_c8</code>
   201     IconDisplayMode iMaskDisplayMode;
   211     IconDisplayMode iMaskDisplayMode;
   202     bool iAnimated;    
   212     bool iAnimated;    
   203     MifConvString iMaskFilename;
   213     MifConvString iMaskFilename;
   204     char* iContent;
   214     char* iContent;
   205     unsigned int iContentLen;
   215     unsigned int iContentLen;
       
   216     TCompileInfo iInfo;
   206 };
   217 };
   207 
   218 
   208 typedef std::vector<MifConvSourceFile> MifConvSourceFileList;
   219 typedef std::vector<MifConvSourceFile> MifConvSourceFileList;
   209 
   220 
   210 #endif
   221 #endif