--- a/mtpdataproviders/mtpimagedp/inc/mtpimagedpconst.h Fri Mar 12 15:46:41 2010 +0200
+++ b/mtpdataproviders/mtpimagedp/inc/mtpimagedpconst.h Mon Mar 15 12:43:12 2010 +0200
@@ -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.
*/