Added Resource.

This commit is contained in:
Relintai 2023-12-31 14:34:28 +01:00
parent 47b327bbf7
commit 022222fca2
2 changed files with 28 additions and 0 deletions

8
sfw/object/resource.cpp Normal file
View File

@ -0,0 +1,8 @@
#include "resource.h"
Resource::Resource() :
Reference() {
}
Resource::~Resource() {
}

20
sfw/object/resource.h Normal file
View File

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