sfw/sfwl/object/resource.h

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