mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-08 07:52:09 +01:00
Added Resource.
This commit is contained in:
parent
47b327bbf7
commit
022222fca2
8
sfw/object/resource.cpp
Normal file
8
sfw/object/resource.cpp
Normal file
@ -0,0 +1,8 @@
|
||||
#include "resource.h"
|
||||
|
||||
Resource::Resource() :
|
||||
Reference() {
|
||||
}
|
||||
|
||||
Resource::~Resource() {
|
||||
}
|
20
sfw/object/resource.h
Normal file
20
sfw/object/resource.h
Normal 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
|
Loading…
Reference in New Issue
Block a user