mirror of
https://github.com/Relintai/sfw.git
synced 2024-12-20 21:06:49 +01:00
30 lines
401 B
C++
30 lines
401 B
C++
//--STRIP
|
|
#ifndef RESOURCE_H
|
|
#define RESOURCE_H
|
|
//--STRIP
|
|
|
|
//--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();
|
|
};
|
|
|
|
//--STRIP
|
|
#endif
|
|
//--STRIP
|