xoreos  0.0.5
Namespaces | Typedefs | Functions
resources.h File Reference

Generic Aurora engines resource utility functions. More...

#include <list>
#include <vector>
#include "src/common/changeid.h"
#include "src/aurora/types.h"
Include dependency graph for resources.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Common
 
 Engines
 

Typedefs

typedef std::list< Common::ChangeIDEngines::ChangeList
 

Functions

void Engines::indexMandatoryArchive (const Common::UString &file, uint32 priority, Common::ChangeID *changeID=0)
 Add an archive file to the resource manager, erroring out if it does not exist. More...
 
void Engines::indexMandatoryArchive (const Common::UString &file, uint32 priority, ChangeList &changes)
 
void Engines::indexMandatoryArchive (const Common::UString &file, uint32 priority, const std::vector< byte > &password, Common::ChangeID *changeID)
 
void Engines::indexMandatoryArchive (const Common::UString &file, uint32 priority, const std::vector< byte > &password, ChangeList &changes)
 
bool Engines::indexOptionalArchive (const Common::UString &file, uint32 priority, Common::ChangeID *changeID=0)
 Add an archive file to the resource manager, if it exists. More...
 
bool Engines::indexOptionalArchive (const Common::UString &file, uint32 priority, ChangeList &changes)
 
bool Engines::indexOptionalArchive (const Common::UString &file, uint32 priority, const std::vector< byte > &password, Common::ChangeID *changeID)
 
bool Engines::indexOptionalArchive (const Common::UString &file, uint32 priority, const std::vector< byte > &password, ChangeList &changes)
 
void Engines::indexMandatoryDirectory (const Common::UString &dir, const char *glob, int depth, uint32 priority, Common::ChangeID *changeID=0)
 Add a directory to the resource manager, erroring out if it does not exist. More...
 
void Engines::indexMandatoryDirectory (const Common::UString &dir, const char *glob, int depth, uint32 priority, ChangeList &changes)
 
bool Engines::indexOptionalDirectory (const Common::UString &dir, const char *glob, int depth, uint32 priority, Common::ChangeID *changeID=0)
 Add a directory to the resource manager, if it exists. More...
 
bool Engines::indexOptionalDirectory (const Common::UString &dir, const char *glob, int depth, uint32 priority, ChangeList &changes)
 
void Engines::deindexResources (Common::ChangeID &changeID)
 Remove previously added resources from the ResourceManager. More...
 
void Engines::deindexResources (ChangeList &changes)
 

Detailed Description

Generic Aurora engines resource utility functions.

Definition in file resources.h.