X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fresource.hh;h=c5020f65c26bafed4bec8f2c070729c52f4a9f8c;hp=eff9e3e4d4e49a88ba18706c662592cf5e0e4753;hb=7d15b919681bb9ec0088b4b27c6abf62d6dfb9b1;hpb=6dfcfbd4a612230f2037cf891dd98520cb80c997 diff --git a/src/resource.hh b/src/resource.hh index eff9e3e..c5020f6 100644 --- a/src/resource.hh +++ b/src/resource.hh @@ -55,16 +55,8 @@ public: 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. @@ -83,7 +75,6 @@ public: static std::string getPathToResource(const std::string& name); private: - std::string filePath_; static std::vector searchPaths_; }; @@ -92,3 +83,5 @@ private: #endif // _RESOURCE_HH_ +/** vim: set ts=4 sw=4 tw=80: *************************************************/ +