X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fresource.hh;h=c5020f65c26bafed4bec8f2c070729c52f4a9f8c;hb=e1a8eee026993b860c557c87ec559c902a4b6a11;hp=eff9e3e4d4e49a88ba18706c662592cf5e0e4753;hpb=6dfcfbd4a612230f2037cf891dd98520cb80c997;p=chaz%2Fyoink 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: *************************************************/ +