mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
27 lines
341 B
C++
27 lines
341 B
C++
#ifndef RESOURCE_H
|
|
#define RESOURCE_H
|
|
|
|
#include "core/containers/vector.h"
|
|
#include "core/string.h"
|
|
|
|
#include "reference.h"
|
|
|
|
#if DATABASES_ENABLED
|
|
class Database;
|
|
class QueryBuilder;
|
|
#endif
|
|
|
|
class Resource : public Reference {
|
|
RCPP_OBJECT(Resource, Reference);
|
|
|
|
public:
|
|
int id;
|
|
bool dirty;
|
|
|
|
Resource();
|
|
~Resource();
|
|
|
|
private:
|
|
};
|
|
|
|
#endif |