OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
niffilemanager.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_COMPONENTS_RESOURCE_NIFFILEMANAGER_H
2 #define OPENMW_COMPONENTS_RESOURCE_NIFFILEMANAGER_H
3 
4 #include <osg/ref_ptr>
5 
7 
8 #include "resourcemanager.hpp"
9 
10 namespace Resource
11 {
12 
16  {
17  public:
18  NifFileManager(const VFS::Manager* vfs);
20 
24  Nif::NIFFilePtr get(const std::string& name);
25  };
26 
27 }
28 
29 #endif
NifFileManager(const VFS::Manager *vfs)
Definition: niffilemanager.cpp:33
boost::shared_ptr< const Nif::NIFFile > NIFFilePtr
Definition: niffile.hpp:95
Handles caching of NIFFiles.
Definition: niffilemanager.hpp:15
~NifFileManager()
Definition: niffilemanager.cpp:38
The main class responsible for loading files from a virtual file system.
Definition: manager.hpp:20
Base class for managers that require a virtual file system and object cache.
Definition: resourcemanager.hpp:17
const char * name
Definition: crashcatcher.cpp:59