15 #ifndef TEMPORARYFILE_H 16 #define TEMPORARYFILE_H 18 #include "pandabase.h" 20 #include "fileReference.h" 32 virtual ~TemporaryFile();
38 static void init_type() {
39 FileReference::init_type();
40 register_type(_type_handle,
"TemporaryFile",
41 FileReference::get_class_type());
44 return get_class_type();
46 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
52 #include "temporaryFile.I" Keeps a reference-counted pointer to a file on disk.
This is a special kind of FileReference class that automatically deletes the file in question when it...
The name of a file, such as a texture file or an Egg file.
TypeHandle is the identifier used to differentiate C++ class types.