mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-15 00:06:17 +01:00
26 lines
361 B
C
26 lines
361 B
C
|
#ifndef RESOURCE_H
|
||
|
#define RESOURCE_H
|
||
|
|
||
|
//--STRIP
|
||
|
#include "object/reference.h"
|
||
|
|
||
|
#include "psignal.h"
|
||
|
//--STRIP
|
||
|
|
||
|
class Resource : public Reference {
|
||
|
SFW_OBJECT(Resource, Reference);
|
||
|
|
||
|
public:
|
||
|
Signal changed;
|
||
|
|
||
|
void emit_changed();
|
||
|
|
||
|
virtual Error load(const String &path);
|
||
|
virtual Error save(const String &path);
|
||
|
|
||
|
Resource();
|
||
|
virtual ~Resource();
|
||
|
};
|
||
|
|
||
|
#endif
|