X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FResource.h;h=e75b87185dbec898bd88519401380373c6f47f72;hb=89563281384c34886fb12b169d1bdf8d293f0b48;hp=726755f385d2aa5f8cf12e94871c07f75a250a3e;hpb=43e9d583c5fa8378013169929d0ef54e1dccb6fa;p=chaz%2Fopenbox diff --git a/src/Resource.h b/src/Resource.h index 726755f3..e75b8718 100644 --- a/src/Resource.h +++ b/src/Resource.h @@ -29,7 +29,7 @@ class Resource { public: - Resource(const std::string &file); + explicit Resource(const std::string &file); Resource(); virtual ~Resource(); @@ -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);