Panda3D
|
00001 // Filename: eggConverter.h 00002 // Created by: drose (15Feb00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef EGGCONVERTER_H 00016 #define EGGCONVERTER_H 00017 00018 #include "pandatoolbase.h" 00019 00020 #include "eggFilter.h" 00021 00022 //////////////////////////////////////////////////////////////////// 00023 // Class : EggConverter 00024 // Description : This is a general base class for programs that 00025 // convert between egg files and some other format. See 00026 // EggToSomething and SomethingToEgg. 00027 //////////////////////////////////////////////////////////////////// 00028 class EggConverter : public EggFilter { 00029 public: 00030 EggConverter(const string &format_name, 00031 const string &preferred_extension = string(), 00032 bool allow_last_param = true, 00033 bool allow_stdout = true); 00034 00035 protected: 00036 string _format_name; 00037 }; 00038 00039 #endif 00040 00041