mtpdataproviders/mtpimagedp/inc/mtpimagedpconst.h
branchRCL_3
changeset 3 8b094906a049
parent 2 4843bb5893b6
equal deleted inserted replaced
2:4843bb5893b6 3:8b094906a049
   185 static const SMTPValidCodeExtensionMapping KMTPValidCodeExtensionMappings[] =
   185 static const SMTPValidCodeExtensionMapping KMTPValidCodeExtensionMappings[] =
   186     {
   186     {
   187     {EMTPFormatCodeEXIFJPEG, CASTING("jpg")},  // jpeg
   187     {EMTPFormatCodeEXIFJPEG, CASTING("jpg")},  // jpeg
   188     {EMTPFormatCodeEXIFJPEG, CASTING("jpe")},  // jpeg
   188     {EMTPFormatCodeEXIFJPEG, CASTING("jpe")},  // jpeg
   189     {EMTPFormatCodeEXIFJPEG, CASTING("jpeg")}, // jpeg
   189     {EMTPFormatCodeEXIFJPEG, CASTING("jpeg")}, // jpeg
   190 //    {EMTPFormatCodeBMP,      CASTING("bmp")},  // bmp
   190     {EMTPFormatCodeBMP,      CASTING("bmp")},  // bmp
   191 //    {EMTPFormatCodeGIF,      CASTING("gif")},  // gif
   191     {EMTPFormatCodeGIF,      CASTING("gif")},  // gif
   192 //    {EMTPFormatCodePNG,      CASTING("png")},  // png
   192     {EMTPFormatCodePNG,      CASTING("png")},  // png
   193 //    {EMTPFormatCodeTIFF,     CASTING("tif")},  // tiff, TNM does not support
   193 //    {EMTPFormatCodeTIFF,     CASTING("tif")},  // tiff, TNM does not support
   194 //    {EMTPFormatCodeTIFF,     CASTING("tiff")}, // tiff, TNM does not support
   194 //    {EMTPFormatCodeTIFF,     CASTING("tiff")}, // tiff, TNM does not support
   195     };
   195     };
   196 
   196 
   197 static const SMTPExtensionMimeTypeMapping KMTPExtensionMimeTypeMappings[] =
   197 static const SMTPExtensionMimeTypeMapping KMTPExtensionMimeTypeMappings[] =
   198     {
   198     {
   199     {CASTING("jpg"),         CASTING("image/jpeg")}, // jpeg
   199     {CASTING("jpg"),         CASTING("image/jpeg")}, // jpeg
   200     {CASTING("jpe"),         CASTING("image/jpeg")}, // jpeg
   200     {CASTING("jpe"),         CASTING("image/jpeg")}, // jpeg
   201     {CASTING("jpeg"),        CASTING("image/jpeg")}, // jpeg
   201     {CASTING("jpeg"),        CASTING("image/jpeg")}, // jpeg
   202 //    {CASTING("bmp"),         CASTING("image/bmp")},  // bmp
   202     {CASTING("bmp"),         CASTING("image/bmp")},  // bmp
   203 //    {CASTING("gif"),         CASTING("image/gif")},  // gif
   203     {CASTING("gif"),         CASTING("image/gif")},  // gif
   204 //    {CASTING("png"),         CASTING("image/png")},  // png
   204     {CASTING("png"),         CASTING("image/png")},  // png
   205 //    {CASTING("tif"),         CASTING("image/tiff")}, // tiff, TNM does not support
   205 //    {CASTING("tif"),         CASTING("image/tiff")}, // tiff, TNM does not support
   206 //    {CASTING("tiff"),        CASTING("image/tiff")}, // tiff, TNM does not support
   206 //    {CASTING("tiff"),        CASTING("image/tiff")}, // tiff, TNM does not support
       
   207     };
       
   208 
       
   209 static const TMTPFormatCode KMTPImageDpSupportFormatCodes[] =
       
   210     {
       
   211     EMTPFormatCodeEXIFJPEG,
       
   212     EMTPFormatCodeBMP,
       
   213     EMTPFormatCodeGIF,
       
   214     EMTPFormatCodePNG,
       
   215 //    EMTPFormatCodeTIFF
   207     };
   216     };
   208 
   217 
   209 /**
   218 /**
   210 Defines the image dp parameters.
   219 Defines the image dp parameters.
   211 */
   220 */