diff --git a/sfw/object/resource.cpp b/sfw/object/resource.cpp new file mode 100644 index 0000000..3cf06eb --- /dev/null +++ b/sfw/object/resource.cpp @@ -0,0 +1,8 @@ +#include "resource.h" + +Resource::Resource() : + Reference() { +} + +Resource::~Resource() { +} diff --git a/sfw/object/resource.h b/sfw/object/resource.h new file mode 100644 index 0000000..ccfc598 --- /dev/null +++ b/sfw/object/resource.h @@ -0,0 +1,20 @@ +#ifndef RESOURCE_H +#define RESOURCE_H + +#include "reference.h" + +#include "psignal.h" + +class Resource : public Reference { + SFW_OBJECT(Resource, Reference); + +public: + Signal changed; + + void emit_changed(); + + Resource(); + virtual ~Resource(); +}; + +#endif \ No newline at end of file