X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FResource.hh;h=39b76a4c62f60c69a11474359565b7b59e3bcc9f;hp=f7d17824dc2c6d162cd8ff4c3ddb2d3a1971950d;hb=c9e20ac06383b20ceb5404c9237e319c2e90d157;hpb=bfa6212d09d8735d8fd5e2638188e4a99f21ada4 diff --git a/src/Moof/Resource.hh b/src/Moof/Resource.hh index f7d1782..39b76a4 100644 --- a/src/Moof/Resource.hh +++ b/src/Moof/Resource.hh @@ -34,7 +34,6 @@ * Interface for textures, sounds, and other types of resources. */ -#include #include #include @@ -49,13 +48,8 @@ namespace Mf { class Resource { public: - struct Exception : public std::runtime_error - { - explicit Exception(const std::string& what_arg) : - std::runtime_error(what_arg) {} - }; - virtual ~Resource(); + virtual ~Resource() {} /** @@ -75,6 +69,7 @@ public: static std::string getPath(const std::string& name); private: + static std::vector searchPaths_; };