15 #ifndef FILEREFERENCE_H
16 #define FILEREFERENCE_H
18 #include "pandabase.h"
20 #include "typedReferenceCount.h"
32 INLINE
const Filename &get_filename()
const;
41 static void init_type() {
42 TypedReferenceCount::init_type();
43 register_type(_type_handle,
"FileReference",
44 TypedReferenceCount::get_class_type());
47 return get_class_type();
49 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
55 #include "fileReference.I"
Keeps a reference-counted pointer to a file on disk.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
The name of a file, such as a texture file or an Egg file.
TypeHandle is the identifier used to differentiate C++ class types.