X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FResource.h;h=e75b87185dbec898bd88519401380373c6f47f72;hb=9fa48a9fbe507e033a9221d44efc053f6ba49e35;hp=912ae75377b725604159f51789799dbfbf89be9f;hpb=456cf2d5065b6939516194c896ccc6f443c08a8c;p=chaz%2Fopenbox diff --git a/src/Resource.h b/src/Resource.h index 912ae753..e75b8718 100644 --- a/src/Resource.h +++ b/src/Resource.h @@ -27,11 +27,11 @@ #include #include -class obResource { +class Resource { public: - obResource(const std::string &file); - obResource(); - virtual ~obResource(); + explicit Resource(const std::string &file); + Resource(); + virtual ~Resource(); inline const std::string &file() const { return static_cast(m_file); @@ -50,6 +50,7 @@ public: void save(); bool load(); + void create(); void setValue(const std::string &rname, bool value); void setValue(const std::string &rname, int value);