sfw/sfwl/object/resource.h

30 lines
401 B
C
Raw Permalink Normal View History

//--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