00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _FILETYPE_H_
00011 #define _FILETYPE_H_
00012
00013 #include <string>
00014
00015 enum ContentType {
00016 Content_JPEG = 1,
00017 Content_BMP = 2,
00018 Content_GIF = 3,
00019 Content_PNG = 4,
00020 Content_Targa = 5,
00021 Content_CelestiaTexture = 6,
00022 Content_3DStudio = 7,
00023 Content_CelestiaMesh = 8,
00024 Content_AVI = 9,
00025 Content_CelestiaCatalog = 10,
00026 Content_DDS = 11,
00027 Content_CelestiaStarCatalog = 12,
00028 Content_CelestiaDeepSkyCatalog = 13,
00029 Content_CelestiaScript = 14,
00030 Content_CelestiaLegacyScript = 15,
00031 Content_CelestiaModel = 16,
00032 Content_Unknown = -1,
00033 };
00034
00035 ContentType DetermineFileType(const std::string& filename);
00036
00037 #endif // _FILETYPE_H_