diff -r aabe5387f5ce -r 1b39655331a3 mtpdataproviders/mtpimagedp/inc/mtpimagedpconst.h --- a/mtpdataproviders/mtpimagedp/inc/mtpimagedpconst.h Fri Mar 19 09:40:39 2010 +0200 +++ b/mtpdataproviders/mtpimagedp/inc/mtpimagedpconst.h Fri Apr 16 15:51:48 2010 +0300 @@ -187,9 +187,9 @@ {EMTPFormatCodeEXIFJPEG, CASTING("jpg")}, // jpeg {EMTPFormatCodeEXIFJPEG, CASTING("jpe")}, // jpeg {EMTPFormatCodeEXIFJPEG, CASTING("jpeg")}, // jpeg -// {EMTPFormatCodeBMP, CASTING("bmp")}, // bmp -// {EMTPFormatCodeGIF, CASTING("gif")}, // gif -// {EMTPFormatCodePNG, CASTING("png")}, // png + {EMTPFormatCodeBMP, CASTING("bmp")}, // bmp + {EMTPFormatCodeGIF, CASTING("gif")}, // gif + {EMTPFormatCodePNG, CASTING("png")}, // png // {EMTPFormatCodeTIFF, CASTING("tif")}, // tiff, TNM does not support // {EMTPFormatCodeTIFF, CASTING("tiff")}, // tiff, TNM does not support }; @@ -199,13 +199,22 @@ {CASTING("jpg"), CASTING("image/jpeg")}, // jpeg {CASTING("jpe"), CASTING("image/jpeg")}, // jpeg {CASTING("jpeg"), CASTING("image/jpeg")}, // jpeg -// {CASTING("bmp"), CASTING("image/bmp")}, // bmp -// {CASTING("gif"), CASTING("image/gif")}, // gif -// {CASTING("png"), CASTING("image/png")}, // png + {CASTING("bmp"), CASTING("image/bmp")}, // bmp + {CASTING("gif"), CASTING("image/gif")}, // gif + {CASTING("png"), CASTING("image/png")}, // png // {CASTING("tif"), CASTING("image/tiff")}, // tiff, TNM does not support // {CASTING("tiff"), CASTING("image/tiff")}, // tiff, TNM does not support }; +static const TMTPFormatCode KMTPImageDpSupportFormatCodes[] = + { + EMTPFormatCodeEXIFJPEG, + EMTPFormatCodeBMP, + EMTPFormatCodeGIF, + EMTPFormatCodePNG, +// EMTPFormatCodeTIFF + }; + /** Defines the image dp parameters. */