diff --git a/sfw/object/resource.cpp b/sfw/object/resource.cpp index 3cf06eb..6d6bda0 100644 --- a/sfw/object/resource.cpp +++ b/sfw/object/resource.cpp @@ -1,5 +1,16 @@ #include "resource.h" +void Resource::emit_changed() { + //emit +} + +Error Resource::load(const String &path) { + return ERR_UNAVAILABLE; +} +Error Resource::save(const String &path) { + return ERR_UNAVAILABLE; +} + Resource::Resource() : Reference() { } diff --git a/sfw/object/resource.h b/sfw/object/resource.h index ccfc598..f82c228 100644 --- a/sfw/object/resource.h +++ b/sfw/object/resource.h @@ -13,6 +13,9 @@ public: void emit_changed(); + virtual Error load(const String &path); + virtual Error save(const String &path); + Resource(); virtual ~Resource(); };