Provides an interface for finding media locations (models, textures, sounds, etc.)
More...
#include <MediaManager.h>
List of all members.
Public Member Functions |
| MediaManager (const std::string &dataPath) |
std::string | getDataPath () const |
std::string | getImagePath (const std::string &s) const |
std::string | getModelPath (const std::string &s) const |
std::string | getSoundPath (const std::string &s) const |
std::string | getImagePath (int id) const |
std::string | getModelPath (int id) const |
std::string | getSoundPath (int id) const |
std::string | getImageName (int id) const |
std::string | getModelName (int id) const |
std::string | getSoundName (int id) const |
Detailed Description
Provides an interface for finding media locations (models, textures, sounds, etc.)
The idea is that different mechanisms may exist for managing a project's files. Examples include a networked media database, or direct access to the filesystem. This class allows for a simple programmatic interface that is agnostic to the actual media storage method.
The documentation for this class was generated from the following files: