mirror of
https://github.com/Relintai/sfw.git
synced 2024-12-20 21:06:49 +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
|