mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Added lots of missing RCPP_OBJECT declarations.
This commit is contained in:
parent
f2458084e6
commit
3704c031f2
@ -10,6 +10,8 @@ class QueryResult;
|
|||||||
//methods that start with an e escape their params.
|
//methods that start with an e escape their params.
|
||||||
|
|
||||||
class QueryBuilder : public Reference {
|
class QueryBuilder : public Reference {
|
||||||
|
RCPP_OBJECT(QueryBuilder, Reference);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual QueryBuilder *select();
|
virtual QueryBuilder *select();
|
||||||
virtual QueryBuilder *update();
|
virtual QueryBuilder *update();
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
#include "core/reference.h"
|
#include "core/reference.h"
|
||||||
|
|
||||||
class QueryResult : public Reference {
|
class QueryResult : public Reference {
|
||||||
|
RCPP_OBJECT(QueryResult, Reference);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual bool next_row();
|
virtual bool next_row();
|
||||||
virtual const char *get_cell(const int index);
|
virtual const char *get_cell(const int index);
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
class QueryResult;
|
class QueryResult;
|
||||||
|
|
||||||
class TableBuilder : public Reference {
|
class TableBuilder : public Reference {
|
||||||
|
RCPP_OBJECT(TableBuilder, Reference);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual TableBuilder *create_table(const String &name);
|
virtual TableBuilder *create_table(const String &name);
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
class HTTPSession : public Object {
|
class HTTPSession : public Object {
|
||||||
|
RCPP_OBJECT(HTTPSession, Object);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void add_object(const String &key, Object *obj);
|
void add_object(const String &key, Object *obj);
|
||||||
void remove_object(const String &key);
|
void remove_object(const String &key);
|
||||||
|
@ -13,6 +13,8 @@ class HTTPSession;
|
|||||||
class Request;
|
class Request;
|
||||||
|
|
||||||
class SessionManager : public Object {
|
class SessionManager : public Object {
|
||||||
|
RCPP_OBJECT(SessionManager, Object);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void add_session(HTTPSession *session);
|
void add_session(HTTPSession *session);
|
||||||
void remove_session(HTTPSession *session);
|
void remove_session(HTTPSession *session);
|
||||||
|
@ -14,6 +14,8 @@ class QueryBuilder;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
class WebNode : public Node {
|
class WebNode : public Node {
|
||||||
|
RCPP_OBJECT(WebNode, Node);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Settings *get_settings();
|
Settings *get_settings();
|
||||||
void set_settings(Settings *settings);
|
void set_settings(Settings *settings);
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
class NodeTree;
|
class NodeTree;
|
||||||
|
|
||||||
class Node : public Object {
|
class Node : public Object {
|
||||||
|
RCPP_OBJECT(Node, Object);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum {
|
enum {
|
||||||
NOTIFICATION_ENTER_TREE = 0,
|
NOTIFICATION_ENTER_TREE = 0,
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
class Node;
|
class Node;
|
||||||
|
|
||||||
class NodeTree : public Object {
|
class NodeTree : public Object {
|
||||||
|
RCPP_OBJECT(NodeTree, Object);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Node *get_root();
|
Node *get_root();
|
||||||
virtual void set_root(Node *root);
|
virtual void set_root(Node *root);
|
||||||
|
@ -10,6 +10,8 @@ class MysqlDatabase;
|
|||||||
class MysqlQueryResult;
|
class MysqlQueryResult;
|
||||||
|
|
||||||
class MysqlQueryBuilder : public QueryBuilder {
|
class MysqlQueryBuilder : public QueryBuilder {
|
||||||
|
RCPP_OBJECT(MysqlQueryBuilder, QueryBuilder);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QueryBuilder *select();
|
QueryBuilder *select();
|
||||||
QueryBuilder *where();
|
QueryBuilder *where();
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
#include <mysql.h>
|
#include <mysql.h>
|
||||||
|
|
||||||
class MysqlQueryResult : public QueryResult {
|
class MysqlQueryResult : public QueryResult {
|
||||||
|
RCPP_OBJECT(MysqlQueryResult, QueryResult);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
bool next_row();
|
bool next_row();
|
||||||
const char* get_cell(const int index);
|
const char* get_cell(const int index);
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
#include "core/database/table_builder.h"
|
#include "core/database/table_builder.h"
|
||||||
|
|
||||||
class MysqlTableBuilder : public TableBuilder {
|
class MysqlTableBuilder : public TableBuilder {
|
||||||
|
RCPP_OBJECT(MysqlTableBuilder, TableBuilder);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TableBuilder *create_table(const String &name);
|
TableBuilder *create_table(const String &name);
|
||||||
TableBuilder *integer(const String &name);
|
TableBuilder *integer(const String &name);
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
class SQLite3Database;
|
class SQLite3Database;
|
||||||
|
|
||||||
class SQLite3QueryBuilder : public QueryBuilder {
|
class SQLite3QueryBuilder : public QueryBuilder {
|
||||||
|
RCPP_OBJECT(SQLite3QueryBuilder, QueryBuilder);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QueryBuilder *select();
|
QueryBuilder *select();
|
||||||
QueryBuilder *update();
|
QueryBuilder *update();
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
#include "./sqlite/sqlite3.h"
|
#include "./sqlite/sqlite3.h"
|
||||||
|
|
||||||
class Sqlite3QueryResult : public QueryResult {
|
class Sqlite3QueryResult : public QueryResult {
|
||||||
|
RCPP_OBJECT(Sqlite3QueryResult, QueryResult);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
bool next_row();
|
bool next_row();
|
||||||
const char* get_cell(const int index);
|
const char* get_cell(const int index);
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
class SQLite3Database;
|
class SQLite3Database;
|
||||||
|
|
||||||
class SQLite3TableBuilder : public TableBuilder {
|
class SQLite3TableBuilder : public TableBuilder {
|
||||||
|
RCPP_OBJECT(SQLite3TableBuilder, TableBuilder);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TableBuilder *create_table(const String &name);
|
TableBuilder *create_table(const String &name);
|
||||||
|
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
#include "modules/paged_article/paged_article.h"
|
#include "modules/paged_article/paged_article.h"
|
||||||
|
|
||||||
class PagedList : public Object {
|
class PagedList : public Object {
|
||||||
|
RCPP_OBJECT(PagedList, Object);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void index(Request *request);
|
void index(Request *request);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user