Panda3D
|
00001 // Filename: fltTrans.h 00002 // Created by: drose (11Apr01) 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 FLTTRANS_H 00016 #define FLTTRANS_H 00017 00018 #include "pandatoolbase.h" 00019 00020 #include "programBase.h" 00021 #include "withOutputFile.h" 00022 00023 //////////////////////////////////////////////////////////////////// 00024 // Class : FltTrans 00025 // Description : A program to read a flt file and write an equivalent 00026 // flt file, possibly performing some minor operations 00027 // along the way. 00028 //////////////////////////////////////////////////////////////////// 00029 class FltTrans : public ProgramBase, public WithOutputFile { 00030 public: 00031 FltTrans(); 00032 00033 void run(); 00034 00035 protected: 00036 virtual bool handle_args(Args &args); 00037 00038 Filename _input_filename; 00039 bool _got_new_version; 00040 double _new_version; 00041 }; 00042 00043 #endif 00044