[libgdamm] Regenerated .defs files from latest libgda master (4.1.x version)
- From: Johannes Schmid <jhs src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libgdamm] Regenerated .defs files from latest libgda master (4.1.x version)
- Date: Thu, 24 Sep 2009 12:21:28 +0000 (UTC)
commit e328a8d633928fc63d4b7e78a99ead80eb2f46c0
Author: Johannes Schmid <jhs gnome org>
Date: Thu Sep 24 13:06:14 2009 +0200
Regenerated .defs files from latest libgda master (4.1.x version)
ChangeLog | 10 +
libgda/src/libgda_enums.defs | 461 +++++---
libgda/src/libgda_methods.defs | 1964 +++++++++++++++++++++++++----
libgda/src/libgda_signals.defs | 47 +-
tools/extra_defs_gen/generate_defs_gda.cc | 3 +-
5 files changed, 2028 insertions(+), 457 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5ceab90..37318d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2009-09-24 Johannes Schmid <jschmid openismus com>
+
+ * libgda/src/libgda_enums.defs:
+ * libgda/src/libgda_methods.defs:
+ * libgda/src/libgda_signals.defs:
+ Regenerated .defs files from libgda master (4.1.x version)
+
+ * tools/extra_defs_gen/generate_defs_gda.cc:
+ Added GdaSqlBuilder to the known objects
+
3.99.18:
2009-09-14 Daniel Elstner <danielk openismus com>
diff --git a/libgda/src/libgda_enums.defs b/libgda/src/libgda_enums.defs
index c1e3737..6fe6ca2 100644
--- a/libgda/src/libgda_enums.defs
+++ b/libgda/src/libgda_enums.defs
@@ -1,4 +1,184 @@
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-config.h
+;; From /usr/include/libgda-4.0/sql-parser/gda-sql-parser.h
+
+(define-enum-extended SqlParserError
+ (in-module "Gda")
+ (c-name "GdaSqlParserError")
+ (values
+ '("syntax-error" "GDA_SQL_PARSER_SYNTAX_ERROR" "0")
+ '("overflow-error" "GDA_SQL_PARSER_OVERFLOW_ERROR" "1")
+ '("empty-sql-error" "GDA_SQL_PARSER_EMPTY_SQL_ERROR" "2")
+ )
+)
+
+(define-enum-extended SqlParserMode
+ (in-module "Gda")
+ (c-name "GdaSqlParserMode")
+ (values
+ '("parse" "GDA_SQL_PARSER_MODE_PARSE" "0")
+ '("delimit" "GDA_SQL_PARSER_MODE_DELIMIT" "1")
+ )
+)
+
+(define-enum-extended SqlParserFlavour
+ (in-module "Gda")
+ (c-name "GdaSqlParserFlavour")
+ (values
+ '("standard" "GDA_SQL_PARSER_FLAVOUR_STANDARD" "0")
+ '("sqlite" "GDA_SQL_PARSER_FLAVOUR_SQLITE" "1")
+ '("mysql" "GDA_SQL_PARSER_FLAVOUR_MYSQL" "2")
+ '("oracle" "GDA_SQL_PARSER_FLAVOUR_ORACLE" "3")
+ '("postgresql" "GDA_SQL_PARSER_FLAVOUR_POSTGRESQL" "4")
+ )
+)
+
+;; From /usr/include/libgda-4.0/sql-parser/gda-statement-struct-compound.h
+
+(define-enum-extended SqlStatementCompoundType
+ (in-module "Gda")
+ (c-name "GdaSqlStatementCompoundType")
+ (values
+ '("union" "GDA_SQL_STATEMENT_COMPOUND_UNION" "0")
+ '("union-all" "GDA_SQL_STATEMENT_COMPOUND_UNION_ALL" "1")
+ '("intersect" "GDA_SQL_STATEMENT_COMPOUND_INTERSECT" "2")
+ '("intersect-all" "GDA_SQL_STATEMENT_COMPOUND_INTERSECT_ALL" "3")
+ '("except" "GDA_SQL_STATEMENT_COMPOUND_EXCEPT" "4")
+ '("except-all" "GDA_SQL_STATEMENT_COMPOUND_EXCEPT_ALL" "5")
+ )
+)
+
+;; From /usr/include/libgda-4.0/sql-parser/gda-statement-struct-decl.h
+
+(define-enum-extended SqlErrorType
+ (in-module "Gda")
+ (c-name "GdaSqlErrorType")
+ (values
+ '("structure-contents-error" "GDA_SQL_STRUCTURE_CONTENTS_ERROR" "0")
+ '("malformed-identifier-error" "GDA_SQL_MALFORMED_IDENTIFIER_ERROR" "1")
+ '("missing-identifier-error" "GDA_SQL_MISSING_IDENTIFIER_ERROR" "2")
+ '("validation-error" "GDA_SQL_VALIDATION_ERROR" "3")
+ )
+)
+
+(define-enum-extended SqlStatementType
+ (in-module "Gda")
+ (c-name "GdaSqlStatementType")
+ (values
+ '("select" "GDA_SQL_STATEMENT_SELECT" "0")
+ '("insert" "GDA_SQL_STATEMENT_INSERT" "1")
+ '("update" "GDA_SQL_STATEMENT_UPDATE" "2")
+ '("delete" "GDA_SQL_STATEMENT_DELETE" "3")
+ '("compound" "GDA_SQL_STATEMENT_COMPOUND" "4")
+ '("begin" "GDA_SQL_STATEMENT_BEGIN" "5")
+ '("rollback" "GDA_SQL_STATEMENT_ROLLBACK" "6")
+ '("commit" "GDA_SQL_STATEMENT_COMMIT" "7")
+ '("savepoint" "GDA_SQL_STATEMENT_SAVEPOINT" "8")
+ '("rollback-savepoint" "GDA_SQL_STATEMENT_ROLLBACK_SAVEPOINT" "9")
+ '("delete-savepoint" "GDA_SQL_STATEMENT_DELETE_SAVEPOINT" "10")
+ '("unknown" "GDA_SQL_STATEMENT_UNKNOWN" "11")
+ '("none" "GDA_SQL_STATEMENT_NONE" "12")
+ )
+)
+
+(define-enum-extended SqlAnyPartType
+ (in-module "Gda")
+ (c-name "GdaSqlAnyPartType")
+ (values
+ '("stmt-select" "GDA_SQL_ANY_STMT_SELECT" "#error")
+ '("stmt-insert" "GDA_SQL_ANY_STMT_INSERT" "1")
+ '("stmt-update" "GDA_SQL_ANY_STMT_UPDATE" "2")
+ '("stmt-delete" "GDA_SQL_ANY_STMT_DELETE" "3")
+ '("stmt-compound" "GDA_SQL_ANY_STMT_COMPOUND" "4")
+ '("stmt-begin" "GDA_SQL_ANY_STMT_BEGIN" "5")
+ '("stmt-rollback" "GDA_SQL_ANY_STMT_ROLLBACK" "6")
+ '("stmt-commit" "GDA_SQL_ANY_STMT_COMMIT" "7")
+ '("stmt-savepoint" "GDA_SQL_ANY_STMT_SAVEPOINT" "8")
+ '("stmt-rollback-savepoint" "GDA_SQL_ANY_STMT_ROLLBACK_SAVEPOINT" "9")
+ '("stmt-delete-savepoint" "GDA_SQL_ANY_STMT_DELETE_SAVEPOINT" "10")
+ '("stmt-unknown" "GDA_SQL_ANY_STMT_UNKNOWN" "11")
+ '("expr" "GDA_SQL_ANY_EXPR" "500")
+ '("sql-field" "GDA_SQL_ANY_SQL_FIELD" "501")
+ '("sql-table" "GDA_SQL_ANY_SQL_TABLE" "502")
+ '("sql-function" "GDA_SQL_ANY_SQL_FUNCTION" "503")
+ '("sql-operation" "GDA_SQL_ANY_SQL_OPERATION" "504")
+ '("sql-case" "GDA_SQL_ANY_SQL_CASE" "505")
+ '("sql-select-field" "GDA_SQL_ANY_SQL_SELECT_FIELD" "506")
+ '("sql-select-target" "GDA_SQL_ANY_SQL_SELECT_TARGET" "507")
+ '("sql-select-join" "GDA_SQL_ANY_SQL_SELECT_JOIN" "508")
+ '("sql-select-from" "GDA_SQL_ANY_SQL_SELECT_FROM" "509")
+ '("sql-select-order" "GDA_SQL_ANY_SQL_SELECT_ORDER" "510")
+ )
+)
+
+;; From /usr/include/libgda-4.0/sql-parser/gda-statement-struct-parts.h
+
+(define-enum-extended SqlOperatorType
+ (in-module "Gda")
+ (c-name "GdaSqlOperatorType")
+ (values
+ '("and" "GDA_SQL_OPERATOR_TYPE_AND" "0")
+ '("or" "GDA_SQL_OPERATOR_TYPE_OR" "1")
+ '("eq" "GDA_SQL_OPERATOR_TYPE_EQ" "2")
+ '("is" "GDA_SQL_OPERATOR_TYPE_IS" "3")
+ '("like" "GDA_SQL_OPERATOR_TYPE_LIKE" "4")
+ '("between" "GDA_SQL_OPERATOR_TYPE_BETWEEN" "5")
+ '("gt" "GDA_SQL_OPERATOR_TYPE_GT" "6")
+ '("lt" "GDA_SQL_OPERATOR_TYPE_LT" "7")
+ '("geq" "GDA_SQL_OPERATOR_TYPE_GEQ" "8")
+ '("leq" "GDA_SQL_OPERATOR_TYPE_LEQ" "9")
+ '("diff" "GDA_SQL_OPERATOR_TYPE_DIFF" "10")
+ '("regexp" "GDA_SQL_OPERATOR_TYPE_REGEXP" "11")
+ '("regexp-ci" "GDA_SQL_OPERATOR_TYPE_REGEXP_CI" "12")
+ '("not-regexp" "GDA_SQL_OPERATOR_TYPE_NOT_REGEXP" "13")
+ '("not-regexp-ci" "GDA_SQL_OPERATOR_TYPE_NOT_REGEXP_CI" "14")
+ '("similar" "GDA_SQL_OPERATOR_TYPE_SIMILAR" "15")
+ '("isnull" "GDA_SQL_OPERATOR_TYPE_ISNULL" "16")
+ '("isnotnull" "GDA_SQL_OPERATOR_TYPE_ISNOTNULL" "17")
+ '("not" "GDA_SQL_OPERATOR_TYPE_NOT" "18")
+ '("in" "GDA_SQL_OPERATOR_TYPE_IN" "19")
+ '("notin" "GDA_SQL_OPERATOR_TYPE_NOTIN" "20")
+ '("concat" "GDA_SQL_OPERATOR_TYPE_CONCAT" "21")
+ '("plus" "GDA_SQL_OPERATOR_TYPE_PLUS" "22")
+ '("minus" "GDA_SQL_OPERATOR_TYPE_MINUS" "23")
+ '("star" "GDA_SQL_OPERATOR_TYPE_STAR" "24")
+ '("div" "GDA_SQL_OPERATOR_TYPE_DIV" "25")
+ '("rem" "GDA_SQL_OPERATOR_TYPE_REM" "26")
+ '("bitand" "GDA_SQL_OPERATOR_TYPE_BITAND" "27")
+ '("bitor" "GDA_SQL_OPERATOR_TYPE_BITOR" "28")
+ '("bitnot" "GDA_SQL_OPERATOR_TYPE_BITNOT" "29")
+ )
+)
+
+(define-enum-extended SqlSelectJoinType
+ (in-module "Gda")
+ (c-name "GdaSqlSelectJoinType")
+ (values
+ '("cross" "GDA_SQL_SELECT_JOIN_CROSS" "0")
+ '("natural" "GDA_SQL_SELECT_JOIN_NATURAL" "1")
+ '("inner" "GDA_SQL_SELECT_JOIN_INNER" "2")
+ '("left" "GDA_SQL_SELECT_JOIN_LEFT" "3")
+ '("right" "GDA_SQL_SELECT_JOIN_RIGHT" "4")
+ '("full" "GDA_SQL_SELECT_JOIN_FULL" "5")
+ )
+)
+
+;; From /usr/include/libgda-4.0/libgda/gda-binreloc.h
+
+(define-enum-extended PrefixDir
+ (in-module "Gda")
+ (c-name "GdaPrefixDir")
+ (values
+ '("no-dir" "GDA_NO_DIR" "0")
+ '("bin-dir" "GDA_BIN_DIR" "1")
+ '("sbin-dir" "GDA_SBIN_DIR" "2")
+ '("data-dir" "GDA_DATA_DIR" "3")
+ '("locale-dir" "GDA_LOCALE_DIR" "4")
+ '("lib-dir" "GDA_LIB_DIR" "5")
+ '("libexec-dir" "GDA_LIBEXEC_DIR" "6")
+ '("etc-dir" "GDA_ETC_DIR" "7")
+ )
+)
+
+;; From /usr/include/libgda-4.0/libgda/gda-config.h
(define-enum-extended ConfigError
(in-module "Gda")
@@ -11,7 +191,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-connection-event.h
+;; From /usr/include/libgda-4.0/libgda/gda-connection-event.h
(define-enum-extended ConnectionEventType
(in-module "Gda")
@@ -50,7 +230,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-connection.h
+;; From /usr/include/libgda-4.0/libgda/gda-connection.h
(define-enum-extended ConnectionError
(in-module "Gda")
@@ -63,6 +243,9 @@
'("no-provider-spec-error" "GDA_CONNECTION_NO_PROVIDER_SPEC_ERROR" "4")
'("open-error" "GDA_CONNECTION_OPEN_ERROR" "5")
'("statement-type-error" "GDA_CONNECTION_STATEMENT_TYPE_ERROR" "6")
+ '("cant-lock-error" "GDA_CONNECTION_CANT_LOCK_ERROR" "7")
+ '("task-not-found-error" "GDA_CONNECTION_TASK_NOT_FOUND_ERROR" "8")
+ '("unsupported-threads-error" "GDA_CONNECTION_UNSUPPORTED_THREADS_ERROR" "9")
)
)
@@ -73,6 +256,7 @@
'("none" "GDA_CONNECTION_OPTIONS_NONE" "0")
'("read-only" "GDA_CONNECTION_OPTIONS_READ_ONLY" "1 << 0")
'("sql-identifiers-case-sensitive" "GDA_CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE" "1 << 1")
+ '("thread-safe" "GDA_CONNECTION_OPTIONS_THREAD_SAFE" "1 << 2")
)
)
@@ -135,7 +319,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-data-comparator.h
+;; From /usr/include/libgda-4.0/libgda/gda-data-comparator.h
(define-enum-extended DataComparatorError
(in-module "Gda")
@@ -158,18 +342,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-data-meta-wrapper.h
-
-(define-enum-extended DataMetaWrapperMode
- (in-module "Gda")
- (c-name "GdaDataMetaWrapperMode")
- (values
- '("lc" "GDA_DATA_META_WRAPPER_MODE_LC" "0")
- '("uc" "GDA_DATA_META_WRAPPER_MODE_UC" "1")
- )
-)
-
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-data-model.h
+;; From /usr/include/libgda-4.0/libgda/gda-data-model.h
(define-flags-extended DataModelAccessFlags
(in-module "Gda")
@@ -221,7 +394,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-data-model-iter.h
+;; From /usr/include/libgda-4.0/libgda/gda-data-model-iter.h
(define-enum-extended DataModelIterError
(in-module "Gda")
@@ -231,7 +404,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-data-proxy.h
+;; From /usr/include/libgda-4.0/libgda/gda-data-proxy.h
(define-enum-extended DataProxyError
(in-module "Gda")
@@ -245,21 +418,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-data-select-extra.h
-
-(define-enum-extended ModType
- (in-module "Gda")
- (c-name "ModType")
- (values
- '("first-query" "FIRST_QUERY" "0")
- '("ins-query" "INS_QUERY" "0")
- '("upd-query" "UPD_QUERY" "1")
- '("del-query" "DEL_QUERY" "2")
- '("nb-queries" "NB_QUERIES" "3")
- )
-)
-
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-easy.h
+;; From /usr/include/libgda-4.0/libgda/gda-easy.h
(define-enum-extended EasyError
(in-module "Gda")
@@ -285,7 +444,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-enums.h
+;; From /usr/include/libgda-4.0/libgda/gda-enums.h
(define-enum-extended TransactionIsolation
(in-module "Gda")
@@ -326,7 +485,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-holder.h
+;; From /usr/include/libgda-4.0/libgda/gda-holder.h
(define-enum-extended HolderError
(in-module "Gda")
@@ -338,7 +497,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-meta-store.h
+;; From /usr/include/libgda-4.0/libgda/gda-meta-store.h
(define-enum-extended MetaStoreError
(in-module "Gda")
@@ -369,7 +528,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-meta-struct.h
+;; From /usr/include/libgda-4.0/libgda/gda-meta-struct.h
(define-enum-extended MetaStructError
(in-module "Gda")
@@ -419,7 +578,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-server-operation.h
+;; From /usr/include/libgda-4.0/libgda/gda-server-operation.h
(define-enum-extended ServerOperationType
(in-module "Gda")
@@ -436,7 +595,9 @@
'("drop-index" "GDA_SERVER_OPERATION_DROP_INDEX" "8")
'("create-view" "GDA_SERVER_OPERATION_CREATE_VIEW" "9")
'("drop-view" "GDA_SERVER_OPERATION_DROP_VIEW" "10")
- '("last" "GDA_SERVER_OPERATION_LAST" "11")
+ '("comment-table" "GDA_SERVER_OPERATION_COMMENT_TABLE" "11")
+ '("comment-column" "GDA_SERVER_OPERATION_COMMENT_COLUMN" "12")
+ '("last" "GDA_SERVER_OPERATION_LAST" "13")
)
)
@@ -464,7 +625,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-server-provider.h
+;; From /usr/include/libgda-4.0/libgda/gda-server-provider.h
(define-enum-extended ServerProviderError
(in-module "Gda")
@@ -484,7 +645,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-set.h
+;; From /usr/include/libgda-4.0/libgda/gda-set.h
(define-enum-extended SetError
(in-module "Gda")
@@ -496,7 +657,18 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-statement.h
+;; From /usr/include/libgda-4.0/libgda/gda-sql-builder.h
+
+(define-enum-extended SqlBuilderError
+ (in-module "Gda")
+ (c-name "GdaSqlBuilderError")
+ (values
+ '("wrong-type-error" "GDA_SQL_BUILDER_WRONG_TYPE_ERROR" "0")
+ '("misuse-error" "GDA_SQL_BUILDER_MISUSE_ERROR" "1")
+ )
+)
+
+;; From /usr/include/libgda-4.0/libgda/gda-statement.h
(define-enum-extended StatementError
(in-module "Gda")
@@ -528,6 +700,7 @@
(in-module "Gda")
(c-name "GdaStatementSqlFlag")
(values
+ '("params-as-values" "GDA_STATEMENT_SQL_PARAMS_AS_VALUES" "0")
'("pretty" "GDA_STATEMENT_SQL_PRETTY" "1 << 0")
'("params-long" "GDA_STATEMENT_SQL_PARAMS_LONG" "1 << 1")
'("params-short" "GDA_STATEMENT_SQL_PARAMS_SHORT" "1 << 2")
@@ -538,7 +711,7 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-transaction-status.h
+;; From /usr/include/libgda-4.0/libgda/gda-transaction-status.h
(define-enum-extended TransactionStatusEventType
(in-module "Gda")
@@ -559,177 +732,121 @@
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/gda-xa-transaction.h
+;; From /usr/include/libgda-4.0/libgda/gda-tree.h
-(define-enum-extended XaTransactionError
+(define-enum-extended TreeError
(in-module "Gda")
- (c-name "GdaXaTransactionError")
+ (c-name "GdaTreeError")
(values
- '("already-registered-error" "GDA_XA_TRANSACTION_ALREADY_REGISTERED_ERROR" "0")
- '("dtp-not-supported-error" "GDA_XA_TRANSACTION_DTP_NOT_SUPPORTED_ERROR" "1")
+ '("r" "GDA_TREE_UNKNOWN_ERROR" "0")
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/sql-parser/gda-sql-parser.h
+;; From /usr/include/libgda-4.0/libgda/gda-tree-manager.h
-(define-enum-extended SqlParserError
+(define-enum-extended TreeManagerError
(in-module "Gda")
- (c-name "GdaSqlParserError")
+ (c-name "GdaTreeManagerError")
(values
- '("syntax-error" "GDA_SQL_PARSER_SYNTAX_ERROR" "0")
- '("overflow-error" "GDA_SQL_PARSER_OVERFLOW_ERROR" "1")
- '("empty-sql-error" "GDA_SQL_PARSER_EMPTY_SQL_ERROR" "2")
+ '("r" "GDA_TREE_MANAGER_UNKNOWN_ERROR" "0")
)
)
-(define-enum-extended SqlParserMode
- (in-module "Gda")
- (c-name "GdaSqlParserMode")
- (values
- '("parse" "GDA_SQL_PARSER_MODE_PARSE" "0")
- '("delimit" "GDA_SQL_PARSER_MODE_DELIMIT" "1")
- )
-)
+;; From /usr/include/libgda-4.0/libgda/gda-tree-node.h
-(define-enum-extended SqlParserFlavour
+(define-enum-extended TreeNodeError
(in-module "Gda")
- (c-name "GdaSqlParserFlavour")
+ (c-name "GdaTreeNodeError")
(values
- '("standard" "GDA_SQL_PARSER_FLAVOUR_STANDARD" "0")
- '("sqlite" "GDA_SQL_PARSER_FLAVOUR_SQLITE" "1")
- '("mysql" "GDA_SQL_PARSER_FLAVOUR_MYSQL" "2")
- '("oracle" "GDA_SQL_PARSER_FLAVOUR_ORACLE" "3")
- '("postgresql" "GDA_SQL_PARSER_FLAVOUR_POSTGRESQL" "4")
+ '("r" "GDA_TREE_NODE_UNKNOWN_ERROR" "0")
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/sql-parser/gda-statement-struct-compound.h
+;; From /usr/include/libgda-4.0/libgda/gda-xa-transaction.h
-(define-enum-extended SqlStatementCompoundType
+(define-enum-extended XaTransactionError
(in-module "Gda")
- (c-name "GdaSqlStatementCompoundType")
+ (c-name "GdaXaTransactionError")
(values
- '("union" "GDA_SQL_STATEMENT_COMPOUND_UNION" "0")
- '("union-all" "GDA_SQL_STATEMENT_COMPOUND_UNION_ALL" "1")
- '("intersect" "GDA_SQL_STATEMENT_COMPOUND_INTERSECT" "2")
- '("intersect-all" "GDA_SQL_STATEMENT_COMPOUND_INTERSECT_ALL" "3")
- '("except" "GDA_SQL_STATEMENT_COMPOUND_EXCEPT" "4")
- '("except-all" "GDA_SQL_STATEMENT_COMPOUND_EXCEPT_ALL" "5")
+ '("already-registered-error" "GDA_XA_TRANSACTION_ALREADY_REGISTERED_ERROR" "0")
+ '("dtp-not-supported-error" "GDA_XA_TRANSACTION_DTP_NOT_SUPPORTED_ERROR" "1")
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/sql-parser/gda-statement-struct-decl.h
+;; From /usr/include/libgda-4.0/libgda-ui/gdaui-data-widget.h
-(define-enum-extended SqlErrorType
- (in-module "Gda")
- (c-name "GdaSqlErrorType")
+(define-enum-extended DataWidgetWriteMode
+ (in-module "Gdaui")
+ (c-name "GdauiDataWidgetWriteMode")
(values
- '("structure-contents-error" "GDA_SQL_STRUCTURE_CONTENTS_ERROR" "0")
- '("malformed-identifier-error" "GDA_SQL_MALFORMED_IDENTIFIER_ERROR" "1")
- '("missing-identifier-error" "GDA_SQL_MISSING_IDENTIFIER_ERROR" "2")
- '("validation-error" "GDA_SQL_VALIDATION_ERROR" "3")
+ '("demand" "GDAUI_DATA_WIDGET_WRITE_ON_DEMAND" "0")
+ '("row-change" "GDAUI_DATA_WIDGET_WRITE_ON_ROW_CHANGE" "1")
+ '("value-activated" "GDAUI_DATA_WIDGET_WRITE_ON_VALUE_ACTIVATED" "2")
+ '("value-change" "GDAUI_DATA_WIDGET_WRITE_ON_VALUE_CHANGE" "3")
)
)
-(define-enum-extended SqlStatementType
- (in-module "Gda")
- (c-name "GdaSqlStatementType")
+;; From /usr/include/libgda-4.0/libgda-ui/gdaui-data-widget-info.h
+
+(define-flags-extended DataWidgetInfoFlag
+ (in-module "Gdaui")
+ (c-name "GdauiDataWidgetInfoFlag")
(values
- '("select" "GDA_SQL_STATEMENT_SELECT" "0")
- '("insert" "GDA_SQL_STATEMENT_INSERT" "1")
- '("update" "GDA_SQL_STATEMENT_UPDATE" "2")
- '("delete" "GDA_SQL_STATEMENT_DELETE" "3")
- '("compound" "GDA_SQL_STATEMENT_COMPOUND" "4")
- '("begin" "GDA_SQL_STATEMENT_BEGIN" "5")
- '("rollback" "GDA_SQL_STATEMENT_ROLLBACK" "6")
- '("commit" "GDA_SQL_STATEMENT_COMMIT" "7")
- '("savepoint" "GDA_SQL_STATEMENT_SAVEPOINT" "8")
- '("rollback-savepoint" "GDA_SQL_STATEMENT_ROLLBACK_SAVEPOINT" "9")
- '("delete-savepoint" "GDA_SQL_STATEMENT_DELETE_SAVEPOINT" "10")
- '("unknown" "GDA_SQL_STATEMENT_UNKNOWN" "11")
- '("none" "GDA_SQL_STATEMENT_NONE" "12")
+ '("none" "GDAUI_DATA_WIDGET_INFO_NONE" "0")
+ '("current-row" "GDAUI_DATA_WIDGET_INFO_CURRENT_ROW" "1 << 0")
+ '("row-modify-buttons" "GDAUI_DATA_WIDGET_INFO_ROW_MODIFY_BUTTONS" "1 << 2")
+ '("row-move-buttons" "GDAUI_DATA_WIDGET_INFO_ROW_MOVE_BUTTONS" "1 << 3")
+ '("chunck-change-buttons" "GDAUI_DATA_WIDGET_INFO_CHUNCK_CHANGE_BUTTONS" "1 << 4")
+ '("no-filter" "GDAUI_DATA_WIDGET_INFO_NO_FILTER" "1 << 5")
)
)
-(define-enum-extended SqlAnyPartType
- (in-module "Gda")
- (c-name "GdaSqlAnyPartType")
+;; From /usr/include/libgda-4.0/libgda-ui/gdaui-enums.h
+
+(define-flags-extended ActionMode
+ (in-module "Gdaui")
+ (c-name "GdauiActionMode")
(values
- '("stmt-select" "GDA_SQL_ANY_STMT_SELECT" "#error")
- '("stmt-insert" "GDA_SQL_ANY_STMT_INSERT" "1")
- '("stmt-update" "GDA_SQL_ANY_STMT_UPDATE" "2")
- '("stmt-delete" "GDA_SQL_ANY_STMT_DELETE" "3")
- '("stmt-compound" "GDA_SQL_ANY_STMT_COMPOUND" "4")
- '("stmt-begin" "GDA_SQL_ANY_STMT_BEGIN" "5")
- '("stmt-rollback" "GDA_SQL_ANY_STMT_ROLLBACK" "6")
- '("stmt-commit" "GDA_SQL_ANY_STMT_COMMIT" "7")
- '("stmt-savepoint" "GDA_SQL_ANY_STMT_SAVEPOINT" "8")
- '("stmt-rollback-savepoint" "GDA_SQL_ANY_STMT_ROLLBACK_SAVEPOINT" "9")
- '("stmt-delete-savepoint" "GDA_SQL_ANY_STMT_DELETE_SAVEPOINT" "10")
- '("stmt-unknown" "GDA_SQL_ANY_STMT_UNKNOWN" "11")
- '("expr" "GDA_SQL_ANY_EXPR" "500")
- '("sql-field" "GDA_SQL_ANY_SQL_FIELD" "501")
- '("sql-table" "GDA_SQL_ANY_SQL_TABLE" "502")
- '("sql-function" "GDA_SQL_ANY_SQL_FUNCTION" "503")
- '("sql-operation" "GDA_SQL_ANY_SQL_OPERATION" "504")
- '("sql-case" "GDA_SQL_ANY_SQL_CASE" "505")
- '("sql-select-field" "GDA_SQL_ANY_SQL_SELECT_FIELD" "506")
- '("sql-select-target" "GDA_SQL_ANY_SQL_SELECT_TARGET" "507")
- '("sql-select-join" "GDA_SQL_ANY_SQL_SELECT_JOIN" "508")
- '("sql-select-from" "GDA_SQL_ANY_SQL_SELECT_FROM" "509")
- '("sql-select-order" "GDA_SQL_ANY_SQL_SELECT_ORDER" "510")
+ '("navigation-arrows" "GDAUI_ACTION_NAVIGATION_ARROWS" "1 << 0")
+ '("navigation-scroll" "GDAUI_ACTION_NAVIGATION_SCROLL" "1 << 1")
+ '("modif-auto-commit" "GDAUI_ACTION_MODIF_AUTO_COMMIT" "1 << 2")
+ '("modif-commit-immediate" "GDAUI_ACTION_MODIF_COMMIT_IMMEDIATE" "1 << 3")
+ '("ask-confirm-update" "GDAUI_ACTION_ASK_CONFIRM_UPDATE" "1 << 4")
+ '("ask-confirm-delete" "GDAUI_ACTION_ASK_CONFIRM_DELETE" "1 << 5")
+ '("ask-confirm-insert" "GDAUI_ACTION_ASK_CONFIRM_INSERT" "1 << 6")
+ '("report-error" "GDAUI_ACTION_REPORT_ERROR" "1 << 7")
)
)
-;; From /home/murrayc/checkout/gnome/libgda/libgda/sql-parser/gda-statement-struct-parts.h
-
-(define-enum-extended SqlOperatorType
- (in-module "Gda")
- (c-name "GdaSqlOperatorType")
+(define-enum-extended Action
+ (in-module "Gdaui")
+ (c-name "GdauiAction")
(values
- '("and" "GDA_SQL_OPERATOR_TYPE_AND" "0")
- '("or" "GDA_SQL_OPERATOR_TYPE_OR" "1")
- '("eq" "GDA_SQL_OPERATOR_TYPE_EQ" "2")
- '("is" "GDA_SQL_OPERATOR_TYPE_IS" "3")
- '("like" "GDA_SQL_OPERATOR_TYPE_LIKE" "4")
- '("between" "GDA_SQL_OPERATOR_TYPE_BETWEEN" "5")
- '("gt" "GDA_SQL_OPERATOR_TYPE_GT" "6")
- '("lt" "GDA_SQL_OPERATOR_TYPE_LT" "7")
- '("geq" "GDA_SQL_OPERATOR_TYPE_GEQ" "8")
- '("leq" "GDA_SQL_OPERATOR_TYPE_LEQ" "9")
- '("diff" "GDA_SQL_OPERATOR_TYPE_DIFF" "10")
- '("regexp" "GDA_SQL_OPERATOR_TYPE_REGEXP" "11")
- '("regexp-ci" "GDA_SQL_OPERATOR_TYPE_REGEXP_CI" "12")
- '("not-regexp" "GDA_SQL_OPERATOR_TYPE_NOT_REGEXP" "13")
- '("not-regexp-ci" "GDA_SQL_OPERATOR_TYPE_NOT_REGEXP_CI" "14")
- '("similar" "GDA_SQL_OPERATOR_TYPE_SIMILAR" "15")
- '("isnull" "GDA_SQL_OPERATOR_TYPE_ISNULL" "16")
- '("isnotnull" "GDA_SQL_OPERATOR_TYPE_ISNOTNULL" "17")
- '("not" "GDA_SQL_OPERATOR_TYPE_NOT" "18")
- '("in" "GDA_SQL_OPERATOR_TYPE_IN" "19")
- '("notin" "GDA_SQL_OPERATOR_TYPE_NOTIN" "20")
- '("concat" "GDA_SQL_OPERATOR_TYPE_CONCAT" "21")
- '("plus" "GDA_SQL_OPERATOR_TYPE_PLUS" "22")
- '("minus" "GDA_SQL_OPERATOR_TYPE_MINUS" "23")
- '("star" "GDA_SQL_OPERATOR_TYPE_STAR" "24")
- '("div" "GDA_SQL_OPERATOR_TYPE_DIV" "25")
- '("rem" "GDA_SQL_OPERATOR_TYPE_REM" "26")
- '("bitand" "GDA_SQL_OPERATOR_TYPE_BITAND" "27")
- '("bitor" "GDA_SQL_OPERATOR_TYPE_BITOR" "28")
- '("bitnot" "GDA_SQL_OPERATOR_TYPE_BITNOT" "29")
+ '("new-data" "GDAUI_ACTION_NEW_DATA" "0")
+ '("write-modified-data" "GDAUI_ACTION_WRITE_MODIFIED_DATA" "1")
+ '("delete-selected-data" "GDAUI_ACTION_DELETE_SELECTED_DATA" "2")
+ '("undelete-selected-data" "GDAUI_ACTION_UNDELETE_SELECTED_DATA" "3")
+ '("reset-data" "GDAUI_ACTION_RESET_DATA" "4")
+ '("move-first-record" "GDAUI_ACTION_MOVE_FIRST_RECORD" "5")
+ '("move-prev-record" "GDAUI_ACTION_MOVE_PREV_RECORD" "6")
+ '("move-next-record" "GDAUI_ACTION_MOVE_NEXT_RECORD" "7")
+ '("move-last-record" "GDAUI_ACTION_MOVE_LAST_RECORD" "8")
+ '("move-first-chunck" "GDAUI_ACTION_MOVE_FIRST_CHUNCK" "9")
+ '("move-prev-chunck" "GDAUI_ACTION_MOVE_PREV_CHUNCK" "10")
+ '("move-next-chunck" "GDAUI_ACTION_MOVE_NEXT_CHUNCK" "11")
+ '("move-last-chunck" "GDAUI_ACTION_MOVE_LAST_CHUNCK" "12")
)
)
-(define-enum-extended SqlSelectJoinType
- (in-module "Gda")
- (c-name "GdaSqlSelectJoinType")
+;; From /usr/include/libgda-4.0/libgda-ui/gdaui-login.h
+
+(define-flags-extended LoginMode
+ (in-module "Gdaui")
+ (c-name "GdauiLoginMode")
(values
- '("cross" "GDA_SQL_SELECT_JOIN_CROSS" "0")
- '("natural" "GDA_SQL_SELECT_JOIN_NATURAL" "1")
- '("inner" "GDA_SQL_SELECT_JOIN_INNER" "2")
- '("left" "GDA_SQL_SELECT_JOIN_LEFT" "3")
- '("right" "GDA_SQL_SELECT_JOIN_RIGHT" "4")
- '("full" "GDA_SQL_SELECT_JOIN_FULL" "5")
+ '("enable-control-centre-mode" "GDA_UI_LOGIN_ENABLE_CONTROL_CENTRE_MODE" "1 << 0")
+ '("hide-dsn-selection-mode" "GDA_UI_LOGIN_HIDE_DSN_SELECTION_MODE" "1 << 1")
+ '("hide-direct-connection-mode" "GDA_UI_LOGIN_HIDE_DIRECT_CONNECTION_MODE" "1 << 2")
)
)
diff --git a/libgda/src/libgda_methods.defs b/libgda/src/libgda_methods.defs
index 07fe14c..78517f7 100644
--- a/libgda/src/libgda_methods.defs
+++ b/libgda/src/libgda_methods.defs
@@ -62,13 +62,6 @@
(gtype-id "GDA_TYPE_DATA_HANDLER")
)
-(define-object DataMetaWrapper
- (in-module "Gda")
- (parent "GObject")
- (c-name "GdaDataMetaWrapper")
- (gtype-id "GDA_TYPE_DATA_META_WRAPPER")
-)
-
(define-object DataModel
(in-module "Gda")
(c-name "GdaDataModel")
@@ -96,13 +89,6 @@
(gtype-id "GDA_TYPE_DATA_MODEL_DIR")
)
-(define-object DataModelDsnList
- (in-module "Gda")
- (parent "GObject")
- (c-name "GdaDataModelDsnList")
- (gtype-id "GDA_TYPE_DATA_MODEL_DSN_LIST")
-)
-
(define-object DataModelImport
(in-module "Gda")
(parent "GObject")
@@ -200,18 +186,18 @@
(gtype-id "GDA_TYPE_SQL_BUILDER")
)
-(define-object SqlParser
+(define-object Statement
(in-module "Gda")
(parent "GObject")
- (c-name "GdaSqlParser")
- (gtype-id "GDA_TYPE_SQL_PARSER")
+ (c-name "GdaStatement")
+ (gtype-id "GDA_TYPE_STATEMENT")
)
-(define-object Statement
+(define-object Threader
(in-module "Gda")
(parent "GObject")
- (c-name "GdaStatement")
- (gtype-id "GDA_TYPE_STATEMENT")
+ (c-name "GdaThreader")
+ (gtype-id "GDA_TYPE_THREADER")
)
(define-object TransactionStatus
@@ -286,6 +272,22 @@
;; Enumerations and flags ...
+(define-enum PrefixDir
+ (in-module "Gda")
+ (c-name "GdaPrefixDir")
+ (gtype-id "GDA_TYPE_PREFIX_DIR")
+ (values
+ '("no-dir" "GDA_NO_DIR")
+ '("bin-dir" "GDA_BIN_DIR")
+ '("sbin-dir" "GDA_SBIN_DIR")
+ '("data-dir" "GDA_DATA_DIR")
+ '("locale-dir" "GDA_LOCALE_DIR")
+ '("lib-dir" "GDA_LIB_DIR")
+ '("libexec-dir" "GDA_LIBEXEC_DIR")
+ '("etc-dir" "GDA_ETC_DIR")
+ )
+)
+
(define-enum ConfigError
(in-module "Gda")
(c-name "GdaConfigError")
@@ -362,6 +364,7 @@
(values
'("none" "GDA_CONNECTION_OPTIONS_NONE")
'("read-only" "GDA_CONNECTION_OPTIONS_READ_ONLY")
+ '("sql-identifiers-case-sensitive" "GDA_CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE")
'("thread-safe" "GDA_CONNECTION_OPTIONS_THREAD_SAFE")
)
)
@@ -451,16 +454,6 @@
)
)
-(define-enum DataMetaWrapperMode
- (in-module "Gda")
- (c-name "GdaDataMetaWrapperMode")
- (gtype-id "GDA_TYPE_DATA_META_WRAPPER_MODE")
- (values
- '("lc" "GDA_DATA_META_WRAPPER_MODE_LC")
- '("uc" "GDA_DATA_META_WRAPPER_MODE_UC")
- )
-)
-
(define-flags DataModelAccessFlags
(in-module "Gda")
(c-name "GdaDataModelAccessFlags")
@@ -537,19 +530,6 @@
)
)
-(define-enum Type
- (in-module "Mod")
- (c-name "ModType")
- (gtype-id "MOD_TYPE_TYPE")
- (values
- '("first-query" "FIRST_QUERY")
- '("ins-query" "INS_QUERY")
- '("upd-query" "UPD_QUERY")
- '("del-query" "DEL_QUERY")
- '("nb-queries" "NB_QUERIES")
- )
-)
-
(define-enum EasyError
(in-module "Gda")
(c-name "GdaEasyError")
@@ -729,6 +709,8 @@
'("drop-index" "GDA_SERVER_OPERATION_DROP_INDEX")
'("create-view" "GDA_SERVER_OPERATION_CREATE_VIEW")
'("drop-view" "GDA_SERVER_OPERATION_DROP_VIEW")
+ '("comment-table" "GDA_SERVER_OPERATION_COMMENT_TABLE")
+ '("comment-column" "GDA_SERVER_OPERATION_COMMENT_COLUMN")
'("last" "GDA_SERVER_OPERATION_LAST")
)
)
@@ -901,170 +883,6 @@
)
)
-(define-enum SqlParserError
- (in-module "Gda")
- (c-name "GdaSqlParserError")
- (gtype-id "GDA_TYPE_SQL_PARSER_ERROR")
- (values
- '("syntax-error" "GDA_SQL_PARSER_SYNTAX_ERROR")
- '("overflow-error" "GDA_SQL_PARSER_OVERFLOW_ERROR")
- '("empty-sql-error" "GDA_SQL_PARSER_EMPTY_SQL_ERROR")
- )
-)
-
-(define-enum SqlParserMode
- (in-module "Gda")
- (c-name "GdaSqlParserMode")
- (gtype-id "GDA_TYPE_SQL_PARSER_MODE")
- (values
- '("parse" "GDA_SQL_PARSER_MODE_PARSE")
- '("delimit" "GDA_SQL_PARSER_MODE_DELIMIT")
- )
-)
-
-(define-enum SqlParserFlavour
- (in-module "Gda")
- (c-name "GdaSqlParserFlavour")
- (gtype-id "GDA_TYPE_SQL_PARSER_FLAVOUR")
- (values
- '("standard" "GDA_SQL_PARSER_FLAVOUR_STANDARD")
- '("sqlite" "GDA_SQL_PARSER_FLAVOUR_SQLITE")
- '("mysql" "GDA_SQL_PARSER_FLAVOUR_MYSQL")
- '("oracle" "GDA_SQL_PARSER_FLAVOUR_ORACLE")
- '("postgresql" "GDA_SQL_PARSER_FLAVOUR_POSTGRESQL")
- )
-)
-
-(define-enum SqlStatementCompoundType
- (in-module "Gda")
- (c-name "GdaSqlStatementCompoundType")
- (gtype-id "GDA_TYPE_SQL_STATEMENT_COMPOUND_TYPE")
- (values
- '("union" "GDA_SQL_STATEMENT_COMPOUND_UNION")
- '("union-all" "GDA_SQL_STATEMENT_COMPOUND_UNION_ALL")
- '("intersect" "GDA_SQL_STATEMENT_COMPOUND_INTERSECT")
- '("intersect-all" "GDA_SQL_STATEMENT_COMPOUND_INTERSECT_ALL")
- '("except" "GDA_SQL_STATEMENT_COMPOUND_EXCEPT")
- '("except-all" "GDA_SQL_STATEMENT_COMPOUND_EXCEPT_ALL")
- )
-)
-
-(define-enum SqlErrorType
- (in-module "Gda")
- (c-name "GdaSqlErrorType")
- (gtype-id "GDA_TYPE_SQL_ERROR_TYPE")
- (values
- '("structure-contents-error" "GDA_SQL_STRUCTURE_CONTENTS_ERROR")
- '("malformed-identifier-error" "GDA_SQL_MALFORMED_IDENTIFIER_ERROR")
- '("missing-identifier-error" "GDA_SQL_MISSING_IDENTIFIER_ERROR")
- '("validation-error" "GDA_SQL_VALIDATION_ERROR")
- )
-)
-
-(define-enum SqlStatementType
- (in-module "Gda")
- (c-name "GdaSqlStatementType")
- (gtype-id "GDA_TYPE_SQL_STATEMENT_TYPE")
- (values
- '("select" "GDA_SQL_STATEMENT_SELECT")
- '("insert" "GDA_SQL_STATEMENT_INSERT")
- '("update" "GDA_SQL_STATEMENT_UPDATE")
- '("delete" "GDA_SQL_STATEMENT_DELETE")
- '("compound" "GDA_SQL_STATEMENT_COMPOUND")
- '("begin" "GDA_SQL_STATEMENT_BEGIN")
- '("rollback" "GDA_SQL_STATEMENT_ROLLBACK")
- '("commit" "GDA_SQL_STATEMENT_COMMIT")
- '("savepoint" "GDA_SQL_STATEMENT_SAVEPOINT")
- '("rollback-savepoint" "GDA_SQL_STATEMENT_ROLLBACK_SAVEPOINT")
- '("delete-savepoint" "GDA_SQL_STATEMENT_DELETE_SAVEPOINT")
- '("unknown" "GDA_SQL_STATEMENT_UNKNOWN")
- '("none" "GDA_SQL_STATEMENT_NONE")
- )
-)
-
-(define-enum SqlAnyPartType
- (in-module "Gda")
- (c-name "GdaSqlAnyPartType")
- (gtype-id "GDA_TYPE_SQL_ANY_PART_TYPE")
- (values
- '("stmt-select" "GDA_SQL_ANY_STMT_SELECT")
- '("stmt-insert" "GDA_SQL_ANY_STMT_INSERT")
- '("stmt-update" "GDA_SQL_ANY_STMT_UPDATE")
- '("stmt-delete" "GDA_SQL_ANY_STMT_DELETE")
- '("stmt-compound" "GDA_SQL_ANY_STMT_COMPOUND")
- '("stmt-begin" "GDA_SQL_ANY_STMT_BEGIN")
- '("stmt-rollback" "GDA_SQL_ANY_STMT_ROLLBACK")
- '("stmt-commit" "GDA_SQL_ANY_STMT_COMMIT")
- '("stmt-savepoint" "GDA_SQL_ANY_STMT_SAVEPOINT")
- '("stmt-rollback-savepoint" "GDA_SQL_ANY_STMT_ROLLBACK_SAVEPOINT")
- '("stmt-delete-savepoint" "GDA_SQL_ANY_STMT_DELETE_SAVEPOINT")
- '("stmt-unknown" "GDA_SQL_ANY_STMT_UNKNOWN")
- '("expr" "GDA_SQL_ANY_EXPR")
- '("sql-field" "GDA_SQL_ANY_SQL_FIELD")
- '("sql-table" "GDA_SQL_ANY_SQL_TABLE")
- '("sql-function" "GDA_SQL_ANY_SQL_FUNCTION")
- '("sql-operation" "GDA_SQL_ANY_SQL_OPERATION")
- '("sql-case" "GDA_SQL_ANY_SQL_CASE")
- '("sql-select-field" "GDA_SQL_ANY_SQL_SELECT_FIELD")
- '("sql-select-target" "GDA_SQL_ANY_SQL_SELECT_TARGET")
- '("sql-select-join" "GDA_SQL_ANY_SQL_SELECT_JOIN")
- '("sql-select-from" "GDA_SQL_ANY_SQL_SELECT_FROM")
- '("sql-select-order" "GDA_SQL_ANY_SQL_SELECT_ORDER")
- )
-)
-
-(define-enum SqlOperatorType
- (in-module "Gda")
- (c-name "GdaSqlOperatorType")
- (gtype-id "GDA_TYPE_SQL_OPERATOR_TYPE")
- (values
- '("and" "GDA_SQL_OPERATOR_TYPE_AND")
- '("or" "GDA_SQL_OPERATOR_TYPE_OR")
- '("eq" "GDA_SQL_OPERATOR_TYPE_EQ")
- '("is" "GDA_SQL_OPERATOR_TYPE_IS")
- '("like" "GDA_SQL_OPERATOR_TYPE_LIKE")
- '("between" "GDA_SQL_OPERATOR_TYPE_BETWEEN")
- '("gt" "GDA_SQL_OPERATOR_TYPE_GT")
- '("lt" "GDA_SQL_OPERATOR_TYPE_LT")
- '("geq" "GDA_SQL_OPERATOR_TYPE_GEQ")
- '("leq" "GDA_SQL_OPERATOR_TYPE_LEQ")
- '("diff" "GDA_SQL_OPERATOR_TYPE_DIFF")
- '("regexp" "GDA_SQL_OPERATOR_TYPE_REGEXP")
- '("regexp-ci" "GDA_SQL_OPERATOR_TYPE_REGEXP_CI")
- '("not-regexp" "GDA_SQL_OPERATOR_TYPE_NOT_REGEXP")
- '("not-regexp-ci" "GDA_SQL_OPERATOR_TYPE_NOT_REGEXP_CI")
- '("similar" "GDA_SQL_OPERATOR_TYPE_SIMILAR")
- '("isnull" "GDA_SQL_OPERATOR_TYPE_ISNULL")
- '("isnotnull" "GDA_SQL_OPERATOR_TYPE_ISNOTNULL")
- '("not" "GDA_SQL_OPERATOR_TYPE_NOT")
- '("in" "GDA_SQL_OPERATOR_TYPE_IN")
- '("notin" "GDA_SQL_OPERATOR_TYPE_NOTIN")
- '("concat" "GDA_SQL_OPERATOR_TYPE_CONCAT")
- '("plus" "GDA_SQL_OPERATOR_TYPE_PLUS")
- '("minus" "GDA_SQL_OPERATOR_TYPE_MINUS")
- '("star" "GDA_SQL_OPERATOR_TYPE_STAR")
- '("div" "GDA_SQL_OPERATOR_TYPE_DIV")
- '("rem" "GDA_SQL_OPERATOR_TYPE_REM")
- '("bitand" "GDA_SQL_OPERATOR_TYPE_BITAND")
- '("bitor" "GDA_SQL_OPERATOR_TYPE_BITOR")
- '("bitnot" "GDA_SQL_OPERATOR_TYPE_BITNOT")
- )
-)
-
-(define-enum SqlSelectJoinType
- (in-module "Gda")
- (c-name "GdaSqlSelectJoinType")
- (gtype-id "GDA_TYPE_SQL_SELECT_JOIN_TYPE")
- (values
- '("cross" "GDA_SQL_SELECT_JOIN_CROSS")
- '("natural" "GDA_SQL_SELECT_JOIN_NATURAL")
- '("inner" "GDA_SQL_SELECT_JOIN_INNER")
- '("left" "GDA_SQL_SELECT_JOIN_LEFT")
- '("right" "GDA_SQL_SELECT_JOIN_RIGHT")
- '("full" "GDA_SQL_SELECT_JOIN_FULL")
- )
-)
-
;; From gda-attributes-manager.h
@@ -1212,6 +1030,24 @@
+;; From gda-binreloc.h
+
+(define-function gda_gbr_init
+ (c-name "gda_gbr_init")
+ (return-type "none")
+)
+
+(define-function gda_gbr_get_file_path
+ (c-name "gda_gbr_get_file_path")
+ (return-type "gchar*")
+ (parameters
+ '("GdaPrefixDir" "where")
+ )
+ (varargs #t)
+)
+
+
+
;; From gda-blob-op.h
(define-function gda_blob_op_get_type
@@ -1774,6 +1610,15 @@
)
)
+(define-method quote_sql_identifier
+ (of-object "GdaConnection")
+ (c-name "gda_connection_quote_sql_identifier")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "id")
+ )
+)
+
(define-method statement_to_sql
(of-object "GdaConnection")
(c-name "gda_connection_statement_to_sql")
@@ -2033,10 +1878,6 @@
-;; From gda-connection-internal.h
-
-
-
;; From gda-connection-private.h
(define-method internal_set_provider_data
@@ -2187,14 +2028,6 @@
-;; From gda-connection-sqlite.h
-
-
-
-;; From gda-custom-marshal.h
-
-
-
;; From gda-data-access-wrapper.h
(define-function gda_data_access_wrapper_get_type
@@ -2337,10 +2170,6 @@
-;; From gda-data-meta-wrapper.h
-
-
-
;; From gda-data-model-array.h
(define-function gda_data_model_array_get_type
@@ -2463,15 +2292,6 @@
-;; From gda-data-model-dsn-list.h
-
-(define-function gda_data_model_dsn_list_get_type
- (c-name "gda_data_model_dsn_list_get_type")
- (return-type "GType")
-)
-
-
-
;; From gda-data-model-extra.h
(define-method row_inserted
@@ -3227,10 +3047,6 @@
-;; From gda-data-select-extra.h
-
-
-
;; From gda-data-select.h
(define-function gda_data_select_get_type
@@ -3722,6 +3538,15 @@
+;; From gda-error.h
+
+(define-function gda_error_get_type
+ (c-name "gda_error_get_type")
+ (return-type "GType")
+)
+
+
+
;; From gda-holder.h
(define-function gda_holder_get_type
@@ -4003,10 +3828,6 @@
-;; From gda-meta-store-extra.h
-
-
-
;; From gda-meta-store.h
(define-function gda_meta_store_get_type
@@ -4043,6 +3864,15 @@
(return-type "GdaConnection*")
)
+(define-function gda_meta_store_sql_identifier_quote
+ (c-name "gda_meta_store_sql_identifier_quote")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "id")
+ '("GdaConnection*" "cnc")
+ )
+)
+
(define-method extract
(of-object "GdaMetaStore")
(c-name "gda_meta_store_extract")
@@ -4096,6 +3926,15 @@
)
)
+(define-method set_reserved_keywords_func
+ (of-object "GdaMetaStore")
+ (c-name "gda_meta_store_set_reserved_keywords_func")
+ (return-type "none")
+ (parameters
+ '("GdaSqlReservedKeywordsFunc" "func")
+ )
+)
+
(define-method get_attribute_value
(of-object "GdaMetaStore")
(c-name "gda_meta_store_get_attribute_value")
@@ -4312,32 +4151,6 @@
-;; From gda-meta-struct-private.h
-
-(define-method add_db_object
- (of-object "GdaMetaStruct")
- (c-name "gda_meta_struct_add_db_object")
- (return-type "GdaMetaDbObject*")
- (parameters
- '("GdaMetaDbObject*" "dbo")
- '("GError**" "error")
- )
-)
-
-(define-method load_from_xml_file
- (of-object "GdaMetaStruct")
- (c-name "gda_meta_struct_load_from_xml_file")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "catalog")
- '("const-gchar*" "schema")
- '("const-gchar*" "xml_spec_file")
- '("GError**" "error")
- )
-)
-
-
-
;; From gda-mutex.h
(define-function gda_mutex_new
@@ -4597,6 +4410,18 @@
(varargs #t)
)
+(define-method get_sql_identifier_at
+ (of-object "GdaServerOperation")
+ (c-name "gda_server_operation_get_sql_identifier_at")
+ (return-type "gchar*")
+ (parameters
+ '("GdaConnection*" "cnc")
+ '("GdaServerProvider*" "prov")
+ '("const-gchar*" "path_format")
+ )
+ (varargs #t)
+)
+
(define-method set_value_at
(of-object "GdaServerOperation")
(c-name "gda_server_operation_set_value_at")
@@ -4737,10 +4562,6 @@
-;; From gda-server-operation-private.h
-
-
-
;; From gda-server-provider-extra.h
(define-method internal_get_parser
@@ -5208,9 +5029,9 @@
)
)
-(define-method literal
+(define-method ident
(of-object "GdaSqlBuilder")
- (c-name "gda_sql_builder_literal")
+ (c-name "gda_sql_builder_ident")
(return-type "guint")
(parameters
'("guint" "id")
@@ -5255,6 +5076,18 @@
)
)
+(define-method cond_v
+ (of-object "GdaSqlBuilder")
+ (c-name "gda_sql_builder_cond_v")
+ (return-type "guint")
+ (parameters
+ '("guint" "id")
+ '("GdaSqlOperatorType" "op")
+ '("guint*" "op_ids")
+ '("gint" "op_ids_size")
+ )
+)
+
(define-method select_add_target
(of-object "GdaSqlBuilder")
(c-name "gda_sql_builder_select_add_target")
@@ -5289,6 +5122,17 @@
)
)
+(define-method select_order_by
+ (of-object "GdaSqlBuilder")
+ (c-name "gda_sql_builder_select_order_by")
+ (return-type "none")
+ (parameters
+ '("guint" "expr_id")
+ '("gboolean" "asc")
+ '("const-gchar*" "collation_name")
+ )
+)
+
(define-method set_table
(of-object "GdaSqlBuilder")
(c-name "gda_sql_builder_set_table")
@@ -5424,6 +5268,43 @@
+;; From gda-threader.h
+
+(define-function gda_threader_get_type
+ (c-name "gda_threader_get_type")
+ (return-type "GType")
+)
+
+(define-function gda_threader_new
+ (c-name "gda_threader_new")
+ (is-constructor-of "GdaThreader")
+ (return-type "GObject*")
+)
+
+(define-method start_thread
+ (of-object "GdaThreader")
+ (c-name "gda_threader_start_thread")
+ (return-type "guint")
+ (parameters
+ '("GThreadFunc" "func")
+ '("gpointer" "func_arg")
+ '("GdaThreaderFunc" "ok_callback")
+ '("GdaThreaderFunc" "cancel_callback")
+ '("GError**" "error")
+ )
+)
+
+(define-method cancel
+ (of-object "GdaThreader")
+ (c-name "gda_threader_cancel")
+ (return-type "none")
+ (parameters
+ '("guint" "job_id")
+ )
+)
+
+
+
;; From gda-transaction-status.h
(define-function gda_transaction_status_get_type
@@ -5860,10 +5741,6 @@
-;; From gda-types.h
-
-
-
;; From gda-util.h
(define-function gda_g_type_to_string
@@ -5934,6 +5811,18 @@
)
)
+(define-function gda_sql_identifier_quote
+ (c-name "gda_sql_identifier_quote")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "id")
+ '("GdaConnection*" "cnc")
+ '("GdaServerProvider*" "prov")
+ '("gboolean" "meta_store_convention")
+ '("gboolean" "force_quotes")
+ )
+)
+
(define-function gda_utility_check_data_model
(c-name "gda_utility_check_data_model")
(return-type "gboolean")
@@ -6708,6 +6597,380 @@
+;; From libgda.h
+
+(define-function gda_init
+ (c-name "gda_init")
+ (return-type "none")
+)
+
+(define-function gda_get_application_exec_path
+ (c-name "gda_get_application_exec_path")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "app_name")
+ )
+)
+
+
+;; -*- scheme -*-
+; object definitions ...
+(define-object ReportDocument
+ (in-module "Gda")
+ (parent "GObject")
+ (c-name "GdaReportDocument")
+ (gtype-id "GDA_TYPE_REPORT_DOCUMENT")
+)
+
+(define-object ReportDocbookDocument
+ (in-module "Gda")
+ (parent "GdaReportDocument")
+ (c-name "GdaReportDocbookDocument")
+ (gtype-id "GDA_TYPE_REPORT_DOCBOOK_DOCUMENT")
+)
+
+(define-object ReportEngine
+ (in-module "Gda")
+ (parent "GObject")
+ (c-name "GdaReportEngine")
+ (gtype-id "GDA_TYPE_REPORT_ENGINE")
+)
+
+(define-object ReportRmlDocument
+ (in-module "Gda")
+ (parent "GdaReportDocument")
+ (c-name "GdaReportRmlDocument")
+ (gtype-id "GDA_TYPE_REPORT_RML_DOCUMENT")
+)
+
+;; Enumerations and flags ...
+
+
+;; From gda-report-docbook-document.h
+
+(define-function gda_report_docbook_document_get_type
+ (c-name "gda_report_docbook_document_get_type")
+ (return-type "GType")
+)
+
+(define-function gda_report_docbook_document_new
+ (c-name "gda_report_docbook_document_new")
+ (is-constructor-of "GdaReportDocbookDocument")
+ (return-type "GdaReportDocument*")
+ (parameters
+ '("GdaReportEngine*" "engine")
+ )
+)
+
+
+
+;; From gda-report-document.h
+
+(define-function gda_report_document_get_type
+ (c-name "gda_report_document_get_type")
+ (return-type "GType")
+)
+
+(define-method set_template
+ (of-object "GdaReportDocument")
+ (c-name "gda_report_document_set_template")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "file")
+ )
+)
+
+(define-method run_as_html
+ (of-object "GdaReportDocument")
+ (c-name "gda_report_document_run_as_html")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "filename")
+ '("GError**" "error")
+ )
+)
+
+(define-method run_as_pdf
+ (of-object "GdaReportDocument")
+ (c-name "gda_report_document_run_as_pdf")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "filename")
+ '("GError**" "error")
+ )
+)
+
+
+
+;; From gda-report-engine.h
+
+(define-function gda_report_engine_get_type
+ (c-name "gda_report_engine_get_type")
+ (return-type "GType")
+)
+
+(define-function gda_report_engine_new
+ (c-name "gda_report_engine_new")
+ (is-constructor-of "GdaReportEngine")
+ (return-type "GdaReportEngine*")
+ (parameters
+ '("xmlNodePtr" "spec_node")
+ )
+)
+
+(define-function gda_report_engine_new_from_string
+ (c-name "gda_report_engine_new_from_string")
+ (return-type "GdaReportEngine*")
+ (parameters
+ '("const-gchar*" "spec_string")
+ )
+)
+
+(define-function gda_report_engine_new_from_file
+ (c-name "gda_report_engine_new_from_file")
+ (return-type "GdaReportEngine*")
+ (parameters
+ '("const-gchar*" "spec_file_name")
+ )
+)
+
+(define-method declare_object
+ (of-object "GdaReportEngine")
+ (c-name "gda_report_engine_declare_object")
+ (return-type "none")
+ (parameters
+ '("GObject*" "object")
+ '("const-gchar*" "obj_name")
+ )
+)
+
+(define-method find_declared_object
+ (of-object "GdaReportEngine")
+ (c-name "gda_report_engine_find_declared_object")
+ (return-type "GObject*")
+ (parameters
+ '("GType" "obj_type")
+ '("const-gchar*" "obj_name")
+ )
+)
+
+(define-method run_as_node
+ (of-object "GdaReportEngine")
+ (c-name "gda_report_engine_run_as_node")
+ (return-type "xmlNodePtr")
+ (parameters
+ '("GError**" "error")
+ )
+)
+
+(define-method run_as_doc
+ (of-object "GdaReportEngine")
+ (c-name "gda_report_engine_run_as_doc")
+ (return-type "xmlDocPtr")
+ (parameters
+ '("GError**" "error")
+ )
+)
+
+
+
+;; From gda-report-rml-document.h
+
+(define-function gda_report_rml_document_get_type
+ (c-name "gda_report_rml_document_get_type")
+ (return-type "GType")
+)
+
+(define-function gda_report_rml_document_new
+ (c-name "gda_report_rml_document_new")
+ (is-constructor-of "GdaReportRmlDocument")
+ (return-type "GdaReportDocument*")
+ (parameters
+ '("GdaReportEngine*" "engine")
+ )
+)
+
+
+
+;; From libgda-report.h
+
+
+;; -*- scheme -*-
+; object definitions ...
+(define-object SqlParser
+ (in-module "Gda")
+ (parent "GObject")
+ (c-name "GdaSqlParser")
+ (gtype-id "GDA_TYPE_SQL_PARSER")
+)
+
+;; Enumerations and flags ...
+
+(define-enum SqlParserError
+ (in-module "Gda")
+ (c-name "GdaSqlParserError")
+ (gtype-id "GDA_TYPE_SQL_PARSER_ERROR")
+ (values
+ '("syntax-error" "GDA_SQL_PARSER_SYNTAX_ERROR")
+ '("overflow-error" "GDA_SQL_PARSER_OVERFLOW_ERROR")
+ '("empty-sql-error" "GDA_SQL_PARSER_EMPTY_SQL_ERROR")
+ )
+)
+
+(define-enum SqlParserMode
+ (in-module "Gda")
+ (c-name "GdaSqlParserMode")
+ (gtype-id "GDA_TYPE_SQL_PARSER_MODE")
+ (values
+ '("parse" "GDA_SQL_PARSER_MODE_PARSE")
+ '("delimit" "GDA_SQL_PARSER_MODE_DELIMIT")
+ )
+)
+
+(define-enum SqlParserFlavour
+ (in-module "Gda")
+ (c-name "GdaSqlParserFlavour")
+ (gtype-id "GDA_TYPE_SQL_PARSER_FLAVOUR")
+ (values
+ '("standard" "GDA_SQL_PARSER_FLAVOUR_STANDARD")
+ '("sqlite" "GDA_SQL_PARSER_FLAVOUR_SQLITE")
+ '("mysql" "GDA_SQL_PARSER_FLAVOUR_MYSQL")
+ '("oracle" "GDA_SQL_PARSER_FLAVOUR_ORACLE")
+ '("postgresql" "GDA_SQL_PARSER_FLAVOUR_POSTGRESQL")
+ )
+)
+
+(define-enum SqlStatementCompoundType
+ (in-module "Gda")
+ (c-name "GdaSqlStatementCompoundType")
+ (gtype-id "GDA_TYPE_SQL_STATEMENT_COMPOUND_TYPE")
+ (values
+ '("union" "GDA_SQL_STATEMENT_COMPOUND_UNION")
+ '("union-all" "GDA_SQL_STATEMENT_COMPOUND_UNION_ALL")
+ '("intersect" "GDA_SQL_STATEMENT_COMPOUND_INTERSECT")
+ '("intersect-all" "GDA_SQL_STATEMENT_COMPOUND_INTERSECT_ALL")
+ '("except" "GDA_SQL_STATEMENT_COMPOUND_EXCEPT")
+ '("except-all" "GDA_SQL_STATEMENT_COMPOUND_EXCEPT_ALL")
+ )
+)
+
+(define-enum SqlErrorType
+ (in-module "Gda")
+ (c-name "GdaSqlErrorType")
+ (gtype-id "GDA_TYPE_SQL_ERROR_TYPE")
+ (values
+ '("structure-contents-error" "GDA_SQL_STRUCTURE_CONTENTS_ERROR")
+ '("malformed-identifier-error" "GDA_SQL_MALFORMED_IDENTIFIER_ERROR")
+ '("missing-identifier-error" "GDA_SQL_MISSING_IDENTIFIER_ERROR")
+ '("validation-error" "GDA_SQL_VALIDATION_ERROR")
+ )
+)
+
+(define-enum SqlStatementType
+ (in-module "Gda")
+ (c-name "GdaSqlStatementType")
+ (gtype-id "GDA_TYPE_SQL_STATEMENT_TYPE")
+ (values
+ '("select" "GDA_SQL_STATEMENT_SELECT")
+ '("insert" "GDA_SQL_STATEMENT_INSERT")
+ '("update" "GDA_SQL_STATEMENT_UPDATE")
+ '("delete" "GDA_SQL_STATEMENT_DELETE")
+ '("compound" "GDA_SQL_STATEMENT_COMPOUND")
+ '("begin" "GDA_SQL_STATEMENT_BEGIN")
+ '("rollback" "GDA_SQL_STATEMENT_ROLLBACK")
+ '("commit" "GDA_SQL_STATEMENT_COMMIT")
+ '("savepoint" "GDA_SQL_STATEMENT_SAVEPOINT")
+ '("rollback-savepoint" "GDA_SQL_STATEMENT_ROLLBACK_SAVEPOINT")
+ '("delete-savepoint" "GDA_SQL_STATEMENT_DELETE_SAVEPOINT")
+ '("unknown" "GDA_SQL_STATEMENT_UNKNOWN")
+ '("none" "GDA_SQL_STATEMENT_NONE")
+ )
+)
+
+(define-enum SqlAnyPartType
+ (in-module "Gda")
+ (c-name "GdaSqlAnyPartType")
+ (gtype-id "GDA_TYPE_SQL_ANY_PART_TYPE")
+ (values
+ '("stmt-select" "GDA_SQL_ANY_STMT_SELECT")
+ '("stmt-insert" "GDA_SQL_ANY_STMT_INSERT")
+ '("stmt-update" "GDA_SQL_ANY_STMT_UPDATE")
+ '("stmt-delete" "GDA_SQL_ANY_STMT_DELETE")
+ '("stmt-compound" "GDA_SQL_ANY_STMT_COMPOUND")
+ '("stmt-begin" "GDA_SQL_ANY_STMT_BEGIN")
+ '("stmt-rollback" "GDA_SQL_ANY_STMT_ROLLBACK")
+ '("stmt-commit" "GDA_SQL_ANY_STMT_COMMIT")
+ '("stmt-savepoint" "GDA_SQL_ANY_STMT_SAVEPOINT")
+ '("stmt-rollback-savepoint" "GDA_SQL_ANY_STMT_ROLLBACK_SAVEPOINT")
+ '("stmt-delete-savepoint" "GDA_SQL_ANY_STMT_DELETE_SAVEPOINT")
+ '("stmt-unknown" "GDA_SQL_ANY_STMT_UNKNOWN")
+ '("expr" "GDA_SQL_ANY_EXPR")
+ '("sql-field" "GDA_SQL_ANY_SQL_FIELD")
+ '("sql-table" "GDA_SQL_ANY_SQL_TABLE")
+ '("sql-function" "GDA_SQL_ANY_SQL_FUNCTION")
+ '("sql-operation" "GDA_SQL_ANY_SQL_OPERATION")
+ '("sql-case" "GDA_SQL_ANY_SQL_CASE")
+ '("sql-select-field" "GDA_SQL_ANY_SQL_SELECT_FIELD")
+ '("sql-select-target" "GDA_SQL_ANY_SQL_SELECT_TARGET")
+ '("sql-select-join" "GDA_SQL_ANY_SQL_SELECT_JOIN")
+ '("sql-select-from" "GDA_SQL_ANY_SQL_SELECT_FROM")
+ '("sql-select-order" "GDA_SQL_ANY_SQL_SELECT_ORDER")
+ )
+)
+
+(define-enum SqlOperatorType
+ (in-module "Gda")
+ (c-name "GdaSqlOperatorType")
+ (gtype-id "GDA_TYPE_SQL_OPERATOR_TYPE")
+ (values
+ '("and" "GDA_SQL_OPERATOR_TYPE_AND")
+ '("or" "GDA_SQL_OPERATOR_TYPE_OR")
+ '("eq" "GDA_SQL_OPERATOR_TYPE_EQ")
+ '("is" "GDA_SQL_OPERATOR_TYPE_IS")
+ '("like" "GDA_SQL_OPERATOR_TYPE_LIKE")
+ '("between" "GDA_SQL_OPERATOR_TYPE_BETWEEN")
+ '("gt" "GDA_SQL_OPERATOR_TYPE_GT")
+ '("lt" "GDA_SQL_OPERATOR_TYPE_LT")
+ '("geq" "GDA_SQL_OPERATOR_TYPE_GEQ")
+ '("leq" "GDA_SQL_OPERATOR_TYPE_LEQ")
+ '("diff" "GDA_SQL_OPERATOR_TYPE_DIFF")
+ '("regexp" "GDA_SQL_OPERATOR_TYPE_REGEXP")
+ '("regexp-ci" "GDA_SQL_OPERATOR_TYPE_REGEXP_CI")
+ '("not-regexp" "GDA_SQL_OPERATOR_TYPE_NOT_REGEXP")
+ '("not-regexp-ci" "GDA_SQL_OPERATOR_TYPE_NOT_REGEXP_CI")
+ '("similar" "GDA_SQL_OPERATOR_TYPE_SIMILAR")
+ '("isnull" "GDA_SQL_OPERATOR_TYPE_ISNULL")
+ '("isnotnull" "GDA_SQL_OPERATOR_TYPE_ISNOTNULL")
+ '("not" "GDA_SQL_OPERATOR_TYPE_NOT")
+ '("in" "GDA_SQL_OPERATOR_TYPE_IN")
+ '("notin" "GDA_SQL_OPERATOR_TYPE_NOTIN")
+ '("concat" "GDA_SQL_OPERATOR_TYPE_CONCAT")
+ '("plus" "GDA_SQL_OPERATOR_TYPE_PLUS")
+ '("minus" "GDA_SQL_OPERATOR_TYPE_MINUS")
+ '("star" "GDA_SQL_OPERATOR_TYPE_STAR")
+ '("div" "GDA_SQL_OPERATOR_TYPE_DIV")
+ '("rem" "GDA_SQL_OPERATOR_TYPE_REM")
+ '("bitand" "GDA_SQL_OPERATOR_TYPE_BITAND")
+ '("bitor" "GDA_SQL_OPERATOR_TYPE_BITOR")
+ '("bitnot" "GDA_SQL_OPERATOR_TYPE_BITNOT")
+ )
+)
+
+(define-enum SqlSelectJoinType
+ (in-module "Gda")
+ (c-name "GdaSqlSelectJoinType")
+ (gtype-id "GDA_TYPE_SQL_SELECT_JOIN_TYPE")
+ (values
+ '("cross" "GDA_SQL_SELECT_JOIN_CROSS")
+ '("natural" "GDA_SQL_SELECT_JOIN_NATURAL")
+ '("inner" "GDA_SQL_SELECT_JOIN_INNER")
+ '("left" "GDA_SQL_SELECT_JOIN_LEFT")
+ '("right" "GDA_SQL_SELECT_JOIN_RIGHT")
+ '("full" "GDA_SQL_SELECT_JOIN_FULL")
+ )
+)
+
+
;; From gda-sql-parser-enum-types.h
(define-function gda_sql_parser_error_get_type
@@ -6816,10 +7079,6 @@
-;; From gda-sql-parser-private.h
-
-
-
;; From gda-sql-statement.h
@@ -7749,3 +8008,1148 @@
)
+;; -*- scheme -*-
+; object definitions ...
+(define-object BasicForm
+ (in-module "Gdaui")
+ (parent "GtkVBox")
+ (c-name "GdauiBasicForm")
+ (gtype-id "GDAUI_TYPE_BASIC_FORM")
+)
+
+(define-object Combo
+ (in-module "Gdaui")
+ (parent "GtkComboBox")
+ (c-name "GdauiCombo")
+ (gtype-id "GDAUI_TYPE_COMBO")
+)
+
+(define-object DataEntry
+ (in-module "Gdaui")
+ (c-name "GdauiDataEntry")
+ (gtype-id "GDAUI_TYPE_DATA_ENTRY")
+)
+
+(define-object DataStore
+ (in-module "Gdaui")
+ (parent "GObject")
+ (c-name "GdauiDataStore")
+ (gtype-id "GDAUI_TYPE_DATA_STORE")
+)
+
+(define-object DataWidget
+ (in-module "Gdaui")
+ (c-name "GdauiDataWidget")
+ (gtype-id "GDAUI_TYPE_DATA_WIDGET")
+)
+
+(define-object DataWidgetFilter
+ (in-module "Gdaui")
+ (parent "GtkVBox")
+ (c-name "GdauiDataWidgetFilter")
+ (gtype-id "GDAUI_TYPE_DATA_WIDGET_FILTER")
+)
+
+(define-object DataWidgetInfo
+ (in-module "Gdaui")
+ (parent "GtkHBox")
+ (c-name "GdauiDataWidgetInfo")
+ (gtype-id "GDAUI_TYPE_DATA_WIDGET_INFO")
+)
+
+(define-object Form
+ (in-module "Gdaui")
+ (parent "GtkVBox")
+ (c-name "GdauiForm")
+ (gtype-id "GDAUI_TYPE_FORM")
+)
+
+(define-object Grid
+ (in-module "Gdaui")
+ (parent "GtkVBox")
+ (c-name "GdauiGrid")
+ (gtype-id "GDAUI_TYPE_GRID")
+)
+
+(define-object Login
+ (in-module "Gdaui")
+ (parent "GtkVBox")
+ (c-name "GdauiLogin")
+ (gtype-id "GDAUI_TYPE_LOGIN")
+)
+
+(define-object ProviderSelector
+ (in-module "Gdaui")
+ (parent "GdauiCombo")
+ (c-name "GdauiProviderSelector")
+ (gtype-id "GDAUI_TYPE_PROVIDER_SELECTOR")
+)
+
+(define-object RawForm
+ (in-module "Gdaui")
+ (parent "GdauiBasicForm")
+ (c-name "GdauiRawForm")
+ (gtype-id "GDAUI_TYPE_RAW_FORM")
+)
+
+(define-object RawGrid
+ (in-module "Gdaui")
+ (parent "GtkTreeView")
+ (c-name "GdauiRawGrid")
+ (gtype-id "GDAUI_TYPE_RAW_GRID")
+)
+
+(define-object ServerOperation
+ (in-module "Gdaui")
+ (parent "GtkVBox")
+ (c-name "GdauiServerOperation")
+ (gtype-id "GDAUI_TYPE_SERVER_OPERATION")
+)
+
+(define-object Set
+ (in-module "Gdaui")
+ (parent "GObject")
+ (c-name "GdauiSet")
+ (gtype-id "GDAUI_TYPE_SET")
+)
+
+(define-object TreeStore
+ (in-module "Gdaui")
+ (parent "GObject")
+ (c-name "GdauiTreeStore")
+ (gtype-id "GDAUI_TYPE_TREE_STORE")
+)
+
+;; Enumerations and flags ...
+
+(define-enum DataWidgetWriteMode
+ (in-module "Gdaui")
+ (c-name "GdauiDataWidgetWriteMode")
+ (gtype-id "GDAUI_TYPE_DATA_WIDGET_WRITE_MODE")
+ (values
+ '("demand" "GDAUI_DATA_WIDGET_WRITE_ON_DEMAND")
+ '("row-change" "GDAUI_DATA_WIDGET_WRITE_ON_ROW_CHANGE")
+ '("value-activated" "GDAUI_DATA_WIDGET_WRITE_ON_VALUE_ACTIVATED")
+ '("value-change" "GDAUI_DATA_WIDGET_WRITE_ON_VALUE_CHANGE")
+ )
+)
+
+(define-flags DataWidgetInfoFlag
+ (in-module "Gdaui")
+ (c-name "GdauiDataWidgetInfoFlag")
+ (gtype-id "GDAUI_TYPE_DATA_WIDGET_INFO_FLAG")
+ (values
+ '("none" "GDAUI_DATA_WIDGET_INFO_NONE")
+ '("current-row" "GDAUI_DATA_WIDGET_INFO_CURRENT_ROW")
+ '("row-modify-buttons" "GDAUI_DATA_WIDGET_INFO_ROW_MODIFY_BUTTONS")
+ '("row-move-buttons" "GDAUI_DATA_WIDGET_INFO_ROW_MOVE_BUTTONS")
+ '("chunck-change-buttons" "GDAUI_DATA_WIDGET_INFO_CHUNCK_CHANGE_BUTTONS")
+ '("no-filter" "GDAUI_DATA_WIDGET_INFO_NO_FILTER")
+ )
+)
+
+(define-flags ActionMode
+ (in-module "Gdaui")
+ (c-name "GdauiActionMode")
+ (gtype-id "GDAUI_TYPE_ACTION_MODE")
+ (values
+ '("navigation-arrows" "GDAUI_ACTION_NAVIGATION_ARROWS")
+ '("navigation-scroll" "GDAUI_ACTION_NAVIGATION_SCROLL")
+ '("modif-auto-commit" "GDAUI_ACTION_MODIF_AUTO_COMMIT")
+ '("modif-commit-immediate" "GDAUI_ACTION_MODIF_COMMIT_IMMEDIATE")
+ '("ask-confirm-update" "GDAUI_ACTION_ASK_CONFIRM_UPDATE")
+ '("ask-confirm-delete" "GDAUI_ACTION_ASK_CONFIRM_DELETE")
+ '("ask-confirm-insert" "GDAUI_ACTION_ASK_CONFIRM_INSERT")
+ '("report-error" "GDAUI_ACTION_REPORT_ERROR")
+ )
+)
+
+(define-enum Action
+ (in-module "Gdaui")
+ (c-name "GdauiAction")
+ (gtype-id "GDAUI_TYPE_ACTION")
+ (values
+ '("new-data" "GDAUI_ACTION_NEW_DATA")
+ '("write-modified-data" "GDAUI_ACTION_WRITE_MODIFIED_DATA")
+ '("delete-selected-data" "GDAUI_ACTION_DELETE_SELECTED_DATA")
+ '("undelete-selected-data" "GDAUI_ACTION_UNDELETE_SELECTED_DATA")
+ '("reset-data" "GDAUI_ACTION_RESET_DATA")
+ '("move-first-record" "GDAUI_ACTION_MOVE_FIRST_RECORD")
+ '("move-prev-record" "GDAUI_ACTION_MOVE_PREV_RECORD")
+ '("move-next-record" "GDAUI_ACTION_MOVE_NEXT_RECORD")
+ '("move-last-record" "GDAUI_ACTION_MOVE_LAST_RECORD")
+ '("move-first-chunck" "GDAUI_ACTION_MOVE_FIRST_CHUNCK")
+ '("move-prev-chunck" "GDAUI_ACTION_MOVE_PREV_CHUNCK")
+ '("move-next-chunck" "GDAUI_ACTION_MOVE_NEXT_CHUNCK")
+ '("move-last-chunck" "GDAUI_ACTION_MOVE_LAST_CHUNCK")
+ )
+)
+
+(define-flags LoginMode
+ (in-module "Gdaui")
+ (c-name "GdauiLoginMode")
+ (gtype-id "GDAUI_TYPE_LOGIN_MODE")
+ (values
+ '("enable-control-centre-mode" "GDA_UI_LOGIN_ENABLE_CONTROL_CENTRE_MODE")
+ '("hide-dsn-selection-mode" "GDA_UI_LOGIN_HIDE_DSN_SELECTION_MODE")
+ '("hide-direct-connection-mode" "GDA_UI_LOGIN_HIDE_DIRECT_CONNECTION_MODE")
+ )
+)
+
+
+;; From gdaui-basic-form.h
+
+(define-function gdaui_basic_form_get_type
+ (c-name "gdaui_basic_form_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_basic_form_new
+ (c-name "gdaui_basic_form_new")
+ (is-constructor-of "GdauiBasicForm")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaSet*" "data_set")
+ )
+)
+
+(define-function gdaui_basic_form_new_custom
+ (c-name "gdaui_basic_form_new_custom")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaSet*" "data_set")
+ '("const-gchar*" "glade_file")
+ '("const-gchar*" "root_element")
+ '("const-gchar*" "form_prefix")
+ )
+)
+
+(define-function gdaui_basic_form_new_in_dialog
+ (c-name "gdaui_basic_form_new_in_dialog")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaSet*" "data_set")
+ '("GtkWindow*" "parent")
+ '("const-gchar*" "title")
+ '("const-gchar*" "header")
+ )
+)
+
+(define-method get_data_set
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_get_data_set")
+ (return-type "GdaSet*")
+)
+
+(define-method is_valid
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_is_valid")
+ (return-type "gboolean")
+)
+
+(define-method has_been_changed
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_has_been_changed")
+ (return-type "gboolean")
+)
+
+(define-method reset
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_reset")
+ (return-type "none")
+)
+
+(define-method set_current_as_orig
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_set_current_as_orig")
+ (return-type "none")
+)
+
+(define-method show_entry_actions
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_show_entry_actions")
+ (return-type "none")
+ (parameters
+ '("gboolean" "show_actions")
+ )
+)
+
+(define-method entry_show
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_entry_show")
+ (return-type "none")
+ (parameters
+ '("GdaHolder*" "param")
+ '("gboolean" "show")
+ )
+)
+
+(define-method entry_grab_focus
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_entry_grab_focus")
+ (return-type "none")
+ (parameters
+ '("GdaHolder*" "param")
+ )
+)
+
+(define-method entry_set_editable
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_entry_set_editable")
+ (return-type "none")
+ (parameters
+ '("GdaHolder*" "param")
+ '("gboolean" "editable")
+ )
+)
+
+(define-method set_entries_auto_default
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_set_entries_auto_default")
+ (return-type "none")
+ (parameters
+ '("gboolean" "auto_default")
+ )
+)
+
+(define-method set_entries_default
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_set_entries_default")
+ (return-type "none")
+)
+
+(define-method get_entry_widget
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_get_entry_widget")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaHolder*" "param")
+ )
+)
+
+(define-method get_label_widget
+ (of-object "GdauiBasicForm")
+ (c-name "gdaui_basic_form_get_label_widget")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaHolder*" "param")
+ )
+)
+
+
+
+;; From gdaui-combo.h
+
+(define-function gdaui_combo_get_type
+ (c-name "gdaui_combo_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_combo_new
+ (c-name "gdaui_combo_new")
+ (is-constructor-of "GdauiCombo")
+ (return-type "GtkWidget*")
+)
+
+(define-function gdaui_combo_new_with_model
+ (c-name "gdaui_combo_new_with_model")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaDataModel*" "model")
+ '("gint" "n_cols")
+ '("gint*" "cols_index")
+ )
+)
+
+(define-method set_model
+ (of-object "GdauiCombo")
+ (c-name "gdaui_combo_set_model")
+ (return-type "none")
+ (parameters
+ '("GdaDataModel*" "model")
+ '("gint" "n_cols")
+ '("gint*" "cols_index")
+ )
+)
+
+(define-method get_model
+ (of-object "GdauiCombo")
+ (c-name "gdaui_combo_get_model")
+ (return-type "GdaDataModel*")
+)
+
+(define-method add_undef_choice
+ (of-object "GdauiCombo")
+ (c-name "gdaui_combo_add_undef_choice")
+ (return-type "none")
+ (parameters
+ '("gboolean" "add_undef_choice")
+ )
+)
+
+(define-method set_values
+ (of-object "GdauiCombo")
+ (c-name "gdaui_combo_set_values")
+ (return-type "gboolean")
+ (parameters
+ '("const-GSList*" "values")
+ )
+)
+
+(define-method get_values
+ (of-object "GdauiCombo")
+ (c-name "gdaui_combo_get_values")
+ (return-type "GSList*")
+)
+
+(define-method undef_selected
+ (of-object "GdauiCombo")
+ (c-name "gdaui_combo_undef_selected")
+ (return-type "gboolean")
+)
+
+(define-method set_values_ext
+ (of-object "GdauiCombo")
+ (c-name "gdaui_combo_set_values_ext")
+ (return-type "gboolean")
+ (parameters
+ '("const-GSList*" "values")
+ '("gint*" "cols_index")
+ )
+)
+
+(define-method get_values_ext
+ (of-object "GdauiCombo")
+ (c-name "gdaui_combo_get_values_ext")
+ (return-type "GSList*")
+ (parameters
+ '("gint" "n_cols")
+ '("gint*" "cols_index")
+ )
+)
+
+
+
+;; From gdaui-data-entry.h
+
+(define-function gdaui_data_entry_get_type
+ (c-name "gdaui_data_entry_get_type")
+ (return-type "GType")
+)
+
+(define-method set_value_type
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_set_value_type")
+ (return-type "none")
+ (parameters
+ '("GType" "type")
+ )
+)
+
+(define-method get_value_type
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_get_value_type")
+ (return-type "GType")
+)
+
+(define-method set_value
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_set_value")
+ (return-type "none")
+ (parameters
+ '("const-GValue*" "value")
+ )
+)
+
+(define-method get_value
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_get_value")
+ (return-type "GValue*")
+)
+
+(define-method content_is_valid
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_content_is_valid")
+ (return-type "gboolean")
+ (parameters
+ '("GError**" "error")
+ )
+)
+
+(define-method set_original_value
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_set_original_value")
+ (return-type "none")
+ (parameters
+ '("const-GValue*" "value")
+ )
+)
+
+(define-method get_original_value
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_get_original_value")
+ (return-type "const-GValue*")
+)
+
+(define-method reset
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_reset")
+ (return-type "none")
+)
+
+(define-method set_value_default
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_set_value_default")
+ (return-type "none")
+ (parameters
+ '("const-GValue*" "value")
+ )
+)
+
+(define-method set_attributes
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_set_attributes")
+ (return-type "none")
+ (parameters
+ '("GdaValueAttribute" "attrs")
+ '("GdaValueAttribute" "mask")
+ )
+)
+
+(define-method get_attributes
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_get_attributes")
+ (return-type "GdaValueAttribute")
+)
+
+(define-method get_handler
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_get_handler")
+ (return-type "GdaDataHandler*")
+)
+
+(define-method expand_in_layout
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_expand_in_layout")
+ (return-type "gboolean")
+)
+
+(define-method set_editable
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_set_editable")
+ (return-type "none")
+ (parameters
+ '("gboolean" "editable")
+ )
+)
+
+(define-method grab_focus
+ (of-object "GdauiDataEntry")
+ (c-name "gdaui_data_entry_grab_focus")
+ (return-type "none")
+)
+
+
+
+;; From gdaui-data-store.h
+
+(define-function gdaui_data_store_get_type
+ (c-name "gdaui_data_store_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_data_store_new
+ (c-name "gdaui_data_store_new")
+ (is-constructor-of "GdauiDataStore")
+ (return-type "GtkTreeModel*")
+ (parameters
+ '("GdaDataModel*" "model")
+ )
+)
+
+(define-method get_proxy
+ (of-object "GdauiDataStore")
+ (c-name "gdaui_data_store_get_proxy")
+ (return-type "GdaDataProxy*")
+)
+
+(define-method get_row_from_iter
+ (of-object "GdauiDataStore")
+ (c-name "gdaui_data_store_get_row_from_iter")
+ (return-type "gint")
+ (parameters
+ '("GtkTreeIter*" "iter")
+ )
+)
+
+(define-method get_iter_from_values
+ (of-object "GdauiDataStore")
+ (c-name "gdaui_data_store_get_iter_from_values")
+ (return-type "gboolean")
+ (parameters
+ '("GtkTreeIter*" "iter")
+ '("GSList*" "values")
+ '("gint*" "cols_index")
+ )
+)
+
+(define-method set_value
+ (of-object "GdauiDataStore")
+ (c-name "gdaui_data_store_set_value")
+ (return-type "gboolean")
+ (parameters
+ '("GtkTreeIter*" "iter")
+ '("gint" "col")
+ '("const-GValue*" "value")
+ )
+)
+
+(define-method delete
+ (of-object "GdauiDataStore")
+ (c-name "gdaui_data_store_delete")
+ (return-type "none")
+ (parameters
+ '("GtkTreeIter*" "iter")
+ )
+)
+
+(define-method undelete
+ (of-object "GdauiDataStore")
+ (c-name "gdaui_data_store_undelete")
+ (return-type "none")
+ (parameters
+ '("GtkTreeIter*" "iter")
+ )
+)
+
+(define-method append
+ (of-object "GdauiDataStore")
+ (c-name "gdaui_data_store_append")
+ (return-type "gboolean")
+ (parameters
+ '("GtkTreeIter*" "iter")
+ )
+)
+
+
+
+;; From gdaui-data-widget-filter.h
+
+(define-function gdaui_data_widget_filter_get_type
+ (c-name "gdaui_data_widget_filter_get_type")
+ (return-type "GType")
+)
+
+(define-method filter_new
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_filter_new")
+ (return-type "GtkWidget*")
+)
+
+
+
+;; From gdaui-data-widget.h
+
+(define-function gdaui_data_widget_get_type
+ (c-name "gdaui_data_widget_get_type")
+ (return-type "GType")
+)
+
+(define-method get_proxy
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_get_proxy")
+ (return-type "GdaDataProxy*")
+)
+
+(define-method get_actions_group
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_get_actions_group")
+ (return-type "GtkActionGroup*")
+)
+
+(define-method perform_action
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_perform_action")
+ (return-type "none")
+ (parameters
+ '("GdauiAction" "action")
+ )
+)
+
+(define-method column_show
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_column_show")
+ (return-type "none")
+ (parameters
+ '("gint" "column")
+ )
+)
+
+(define-method column_hide
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_column_hide")
+ (return-type "none")
+ (parameters
+ '("gint" "column")
+ )
+)
+
+(define-method column_set_editable
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_column_set_editable")
+ (return-type "none")
+ (parameters
+ '("gint" "column")
+ '("gboolean" "editable")
+ )
+)
+
+(define-method column_show_actions
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_column_show_actions")
+ (return-type "none")
+ (parameters
+ '("gint" "column")
+ '("gboolean" "show_actions")
+ )
+)
+
+(define-method get_gda_model
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_get_gda_model")
+ (return-type "GdaDataModel*")
+)
+
+(define-method set_gda_model
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_set_gda_model")
+ (return-type "none")
+ (parameters
+ '("GdaDataModel*" "model")
+ )
+)
+
+(define-method get_current_data
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_get_current_data")
+ (return-type "GdaDataModelIter*")
+)
+
+(define-method set_write_mode
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_set_write_mode")
+ (return-type "gboolean")
+ (parameters
+ '("GdauiDataWidgetWriteMode" "mode")
+ )
+)
+
+(define-method get_write_mode
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_get_write_mode")
+ (return-type "GdauiDataWidgetWriteMode")
+)
+
+(define-method set_data_layout_from_file
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_set_data_layout_from_file")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "file_name")
+ '("const-gchar*" "parent_table")
+ )
+)
+
+
+
+;; From gdaui-data-widget-info.h
+
+(define-function gdaui_data_widget_info_get_type
+ (c-name "gdaui_data_widget_info_get_type")
+ (return-type "GType")
+)
+
+(define-method info_new
+ (of-object "GdauiDataWidget")
+ (c-name "gdaui_data_widget_info_new")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdauiDataWidgetInfoFlag" "flags")
+ )
+)
+
+
+
+;; From gdaui-decl.h
+
+
+
+;; From gdaui-easy.h
+
+(define-function gdaui_new_data_entry
+ (c-name "gdaui_new_data_entry")
+ (return-type "GdauiDataEntry*")
+ (parameters
+ '("GType" "type")
+ '("const-gchar*" "plugin_name")
+ )
+)
+
+
+
+;; From gdaui-enums.h
+
+
+
+;; From gdaui-enum-types.h
+
+(define-function gdaui_data_widget_write_mode_get_type
+ (c-name "gdaui_data_widget_write_mode_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_data_widget_info_flag_get_type
+ (c-name "gdaui_data_widget_info_flag_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_action_mode_get_type
+ (c-name "gdaui_action_mode_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_action_get_type
+ (c-name "gdaui_action_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_login_mode_get_type
+ (c-name "gdaui_login_mode_get_type")
+ (return-type "GType")
+)
+
+
+
+;; From gdaui-form.h
+
+(define-function gdaui_form_get_type
+ (c-name "gdaui_form_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_form_new
+ (c-name "gdaui_form_new")
+ (is-constructor-of "GdauiForm")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaDataModel*" "model")
+ )
+)
+
+
+
+;; From gdaui-grid.h
+
+(define-function gdaui_grid_get_type
+ (c-name "gdaui_grid_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_grid_new
+ (c-name "gdaui_grid_new")
+ (is-constructor-of "GdauiGrid")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaDataModel*" "model")
+ )
+)
+
+(define-method get_selection
+ (of-object "GdauiGrid")
+ (c-name "gdaui_grid_get_selection")
+ (return-type "GList*")
+)
+
+(define-method set_sample_size
+ (of-object "GdauiGrid")
+ (c-name "gdaui_grid_set_sample_size")
+ (return-type "none")
+ (parameters
+ '("gint" "sample_size")
+ )
+)
+
+
+
+;; From gdaui-login.h
+
+(define-function gdaui_login_get_type
+ (c-name "gdaui_login_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_login_new
+ (c-name "gdaui_login_new")
+ (is-constructor-of "GdauiLogin")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "dsn")
+ )
+)
+
+(define-method set_mode
+ (of-object "GdauiLogin")
+ (c-name "gdaui_login_set_mode")
+ (return-type "none")
+ (parameters
+ '("GdauiLoginMode" "mode")
+ )
+)
+
+(define-method get_connection_information
+ (of-object "GdauiLogin")
+ (c-name "gdaui_login_get_connection_information")
+ (return-type "const-GdaDsnInfo*")
+)
+
+(define-method set_dsn
+ (of-object "GdauiLogin")
+ (c-name "gdaui_login_set_dsn")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "dsn")
+ )
+)
+
+(define-method set_connection_information
+ (of-object "GdauiLogin")
+ (c-name "gdaui_login_set_connection_information")
+ (return-type "none")
+ (parameters
+ '("const-GdaDsnInfo*" "cinfo")
+ )
+)
+
+
+
+;; From gdaui-provider-selector.h
+
+(define-function gdaui_provider_selector_get_type
+ (c-name "gdaui_provider_selector_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_provider_selector_new
+ (c-name "gdaui_provider_selector_new")
+ (is-constructor-of "GdauiProviderSelector")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_provider_obj
+ (of-object "GdauiProviderSelector")
+ (c-name "gdaui_provider_selector_get_provider_obj")
+ (return-type "GdaServerProvider*")
+)
+
+(define-method get_provider
+ (of-object "GdauiProviderSelector")
+ (c-name "gdaui_provider_selector_get_provider")
+ (return-type "const-gchar*")
+)
+
+(define-method set_provider
+ (of-object "GdauiProviderSelector")
+ (c-name "gdaui_provider_selector_set_provider")
+ (return-type "gboolean")
+ (parameters
+ '("const-gchar*" "provider")
+ )
+)
+
+
+
+;; From gdaui-raw-form.h
+
+(define-function gdaui_raw_form_get_type
+ (c-name "gdaui_raw_form_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_raw_form_new
+ (c-name "gdaui_raw_form_new")
+ (is-constructor-of "GdauiRawForm")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaDataModel*" "model")
+ )
+)
+
+
+
+;; From gdaui-raw-grid.h
+
+(define-function gdaui_raw_grid_get_type
+ (c-name "gdaui_raw_grid_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_raw_grid_new
+ (c-name "gdaui_raw_grid_new")
+ (is-constructor-of "GdauiRawGrid")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaDataModel*" "model")
+ )
+)
+
+(define-method set_sample_size
+ (of-object "GdauiRawGrid")
+ (c-name "gdaui_raw_grid_set_sample_size")
+ (return-type "none")
+ (parameters
+ '("gint" "sample_size")
+ )
+)
+
+(define-method set_sample_start
+ (of-object "GdauiRawGrid")
+ (c-name "gdaui_raw_grid_set_sample_start")
+ (return-type "none")
+ (parameters
+ '("gint" "sample_start")
+ )
+)
+
+(define-method get_selection
+ (of-object "GdauiRawGrid")
+ (c-name "gdaui_raw_grid_get_selection")
+ (return-type "GList*")
+)
+
+
+
+;; From gdaui-server-operation.h
+
+(define-function gdaui_server_operation_get_type
+ (c-name "gdaui_server_operation_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_server_operation_new
+ (c-name "gdaui_server_operation_new")
+ (is-constructor-of "GdauiServerOperation")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaServerOperation*" "op")
+ )
+)
+
+(define-function gdaui_server_operation_new_in_dialog
+ (c-name "gdaui_server_operation_new_in_dialog")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GdaServerOperation*" "op")
+ '("GtkWindow*" "parent")
+ '("const-gchar*" "title")
+ '("const-gchar*" "header")
+ )
+)
+
+
+
+;; From gdaui-set.h
+
+(define-function gdaui_set_get_type
+ (c-name "gdaui_set_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_set_new
+ (c-name "gdaui_set_new")
+ (is-constructor-of "GdauiSet")
+ (return-type "GdauiSet*")
+ (parameters
+ '("GdaSet*" "set")
+ )
+)
+
+
+
+;; From gdaui-tree-store.h
+
+(define-function gdaui_tree_store_get_type
+ (c-name "gdaui_tree_store_get_type")
+ (return-type "GType")
+)
+
+(define-function gdaui_tree_store_new
+ (c-name "gdaui_tree_store_new")
+ (is-constructor-of "GdauiTreeStore")
+ (return-type "GtkTreeModel*")
+ (parameters
+ '("GdaTree*" "tree")
+ '("guint" "n_columns")
+ )
+ (varargs #t)
+)
+
+(define-function gdaui_tree_store_newv
+ (c-name "gdaui_tree_store_newv")
+ (return-type "GtkTreeModel*")
+ (parameters
+ '("GdaTree*" "tree")
+ '("guint" "n_columns")
+ '("GType*" "types")
+ '("const-gchar**" "attribute_names")
+ )
+)
+
+
+
+;; From libgda-ui.h
+
+(define-function gdaui_init
+ (c-name "gdaui_init")
+ (return-type "none")
+)
+
+
+;; -*- scheme -*-
+; object definitions ...
+;; Enumerations and flags ...
+
+
+;; From libgda-xslt.h
+
+(define-function gda_xslt_register
+ (c-name "gda_xslt_register")
+ (return-type "none")
+)
+
+(define-function gda_xslt_set_execution_context
+ (c-name "gda_xslt_set_execution_context")
+ (return-type "none")
+ (parameters
+ '("xsltTransformContextPtr" "tcxt")
+ '("GdaXsltExCont*" "exec")
+ )
+)
+
+(define-function gda_xslt_create_context_simple
+ (c-name "gda_xslt_create_context_simple")
+ (return-type "GdaXsltExCont*")
+ (parameters
+ '("GdaConnection*" "cnc")
+ '("GError**" "error")
+ )
+)
+
+(define-function gda_xslt_finalize_context
+ (c-name "gda_xslt_finalize_context")
+ (return-type "int")
+ (parameters
+ '("GdaXsltExCont*" "ctx")
+ )
+)
+
+
diff --git a/libgda/src/libgda_signals.defs b/libgda/src/libgda_signals.defs
index b170fa6..da381c1 100644
--- a/libgda/src/libgda_signals.defs
+++ b/libgda/src/libgda_signals.defs
@@ -199,6 +199,24 @@
(construct-only #f)
)
+(define-property is-wrapper
+ (of-object "GdaConnection")
+ (prop-type "GParamBoolean")
+ (docs "Tells if the connection acts as a thread wrapper around another connection, making it completely thread safe")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property monitor-wrapped-in-mainloop
+ (of-object "GdaConnection")
+ (prop-type "GParamBoolean")
+ (docs "Make the connection set up a monitoring function in the mainloop to monitor the wrapped connection")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GdaConnectionEvent
(define-property type
@@ -272,6 +290,26 @@
(construct-only #f)
)
+;; From GdaDataModelBdb
+
+(define-property filename
+ (of-object "GdaDataModelBdb")
+ (prop-type "GParamString")
+ (docs "DB file")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property db-name
+ (of-object "GdaDataModelBdb")
+ (prop-type "GParamString")
+ (docs "Name of the database")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
;; From GdaDataModelDir
(define-property basedir
@@ -585,7 +623,7 @@
(define-property store-all-rows
(of-object "GdaDataSelect")
(prop-type "GParamBoolean")
- (docs "Tells if model has analysed all the rows")
+ (docs "Tells if model has analyzed all the rows")
(readable #t)
(writable #t)
(construct-only #f)
@@ -763,10 +801,10 @@
(define-signal suggest-update
(of-object "GdaMetaStore")
- (return-type "gpointer")
+ (return-type "GError*")
(when "last")
(parameters
- '("gpointer" "p0")
+ '("GdaMetaContext" "p0")
)
)
@@ -775,7 +813,7 @@
(return-type "void")
(when "first")
(parameters
- '("gpointer" "p0")
+ '("GdaSList" "p0")
)
)
@@ -1079,4 +1117,5 @@
(construct-only #f)
)
+;; From GdaSqlBuilder
diff --git a/tools/extra_defs_gen/generate_defs_gda.cc b/tools/extra_defs_gen/generate_defs_gda.cc
index 016ff76..33dbdc9 100644
--- a/tools/extra_defs_gen/generate_defs_gda.cc
+++ b/tools/extra_defs_gen/generate_defs_gda.cc
@@ -55,7 +55,8 @@ int main(int, char**)
<< get_defs(GDA_TYPE_STATEMENT)
<< get_defs(GDA_TYPE_TRANSACTION_STATUS)
<< get_defs(GDA_TYPE_XA_TRANSACTION)
- << get_defs(GDA_TYPE_SQL_PARSER);
+ << get_defs(GDA_TYPE_SQL_PARSER)
+ << get_defs(GDA_TYPE_SQL_BUILDER);
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]