Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

filetype.h

Go to the documentation of this file.
00001 // filetype.h
00002 //
00003 // Copyright (C) 2001, Chris Laurel <claurel@shatters.net>
00004 //
00005 // This program is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU General Public License
00007 // as published by the Free Software Foundation; either version 2
00008 // of the License, or (at your option) any later version.
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_

Generated on Sat Jan 14 22:30:32 2006 for Celestia by  doxygen 1.4.1