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