mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-08 07:52:09 +01:00
Small tweaks to Resource.
This commit is contained in:
parent
022222fca2
commit
724b1b3901
@ -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() {
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user