Small tweaks to Resource.

This commit is contained in:
Relintai 2023-12-31 14:37:14 +01:00
parent 022222fca2
commit 724b1b3901
2 changed files with 14 additions and 0 deletions

View File

@ -1,5 +1,16 @@
#include "resource.h" #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() : Resource::Resource() :
Reference() { Reference() {
} }

View File

@ -13,6 +13,9 @@ public:
void emit_changed(); void emit_changed();
virtual Error load(const String &path);
virtual Error save(const String &path);
Resource(); Resource();
virtual ~Resource(); virtual ~Resource();
}; };