22 #ifndef COMMON_FORMATS_FORMATINFO_H 23 #define COMMON_FORMATS_FORMATINFO_H 25 #include "common/str.h" 36 namespace FormatInfo {
50 enum FormatSupportLevel {
51 kFormatSupportLevelNone,
52 kFormatSupportLevelAvoid,
53 kFormatSupportLevelDefault,
54 kFormatSupportLevelSupported,
55 kFormatSupportLevelPreferred,
62 kBMP, kFirstImageFormat = kBMP,
68 kUntypedBinary, kFirstBinaryFormat = kUntypedBinary,
73 kLastImageFormat = kFirstBinaryFormat - 1,
74 kLastBinaryFormat = kCount - 1,
101 const char *getFormatExtension(Common::FormatInfo::FormatID format,
bool limitTo3Characters);
105 ImageSaveCallback_t getImageSaveFunction(FormatID format);
113 FormatSupportLevel getFormatSupportLevel(Common::FormatInfo::FormatID format);
Definition: algorithm.h:29
Definition: formatinfo.h:28