Panda3D
 All Classes Functions Variables Enumerations
fltTrans.h
1 // Filename: fltTrans.h
2 // Created by: drose (11Apr01)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef FLTTRANS_H
16 #define FLTTRANS_H
17 
18 #include "pandatoolbase.h"
19 
20 #include "programBase.h"
21 #include "withOutputFile.h"
22 
23 ////////////////////////////////////////////////////////////////////
24 // Class : FltTrans
25 // Description : A program to read a flt file and write an equivalent
26 // flt file, possibly performing some minor operations
27 // along the way.
28 ////////////////////////////////////////////////////////////////////
29 class FltTrans : public ProgramBase, public WithOutputFile {
30 public:
31  FltTrans();
32 
33  void run();
34 
35 protected:
36  virtual bool handle_args(Args &args);
37 
38  Filename _input_filename;
39  bool _got_new_version;
40  double _new_version;
41 };
42 
43 #endif
44 
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
Definition: programBase.h:37
A program to read a flt file and write an equivalent flt file, possibly performing some minor operati...
Definition: fltTrans.h:29
The name of a file, such as a texture file or an Egg file.
Definition: filename.h:44
This is the bare functionality (intended to be inherited from along with ProgramBase or some derivati...