std::runtime_error(what_arg) {}
};
- resource(const std::string& name) throw(exception);
virtual ~resource();
- /**
- * Get the path of the file associated with this resource.
- * @return Path.
- */
-
- const std::string& getPathToFile();
-
/**
* Add a directory to search when looking for resource files.
static std::string getPathToResource(const std::string& name);
private:
- std::string filePath_;
static std::vector<std::string> searchPaths_;
};
#endif // _RESOURCE_HH_
+/** vim: set ts=4 sw=4 tw=80: *************************************************/
+