gnomemm r1758 - in libgdamm/trunk: . libgda/src tools/extra_defs_gen
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1758 - in libgdamm/trunk: . libgda/src tools/extra_defs_gen
- Date: Thu, 30 Oct 2008 14:58:15 +0000 (UTC)
Author: jhs
Date: Thu Oct 30 14:58:14 2008
New Revision: 1758
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1758&view=rev
Log:
2008-10-30 Johannes Schmid <jschmid openismus com>
* libgda/src/error.hg:
Don't put typedef in generated file but in hg instead...
* libgda/src/libgda_signals.defs:
* tools/extra_defs_gen/generate_defs_gda.cc:
Regenerated signals/properties
Modified:
libgdamm/trunk/ChangeLog
libgdamm/trunk/libgda/src/error.hg
libgdamm/trunk/libgda/src/libgda_signals.defs
libgdamm/trunk/tools/extra_defs_gen/generate_defs_gda.cc
Modified: libgdamm/trunk/libgda/src/error.hg
==============================================================================
--- libgdamm/trunk/libgda/src/error.hg (original)
+++ libgdamm/trunk/libgda/src/error.hg Thu Oct 30 14:58:14 2008
@@ -22,6 +22,8 @@
_DEFS(libgdamm,libgda)
_PINCLUDE(glibmm/private/object_p.h)
+typedef GError GdaError;
+
namespace Gnome
{
Modified: libgdamm/trunk/libgda/src/libgda_signals.defs
==============================================================================
--- libgdamm/trunk/libgda/src/libgda_signals.defs (original)
+++ libgdamm/trunk/libgda/src/libgda_signals.defs Thu Oct 30 14:58:14 2008
@@ -513,7 +513,7 @@
(define-signal validate-row-changes
(of-object "GdaDataProxy")
- (return-type "GError*")
+ (return-type "GdaError*")
(when "last")
(parameters
'("gint" "p0")
@@ -573,6 +573,98 @@
(construct-only #f)
)
+;; From GdaDataSelect
+
+(define-property connection
+ (of-object "GdaDataSelect")
+ (prop-type "GParamObject")
+ (docs "")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property prepared-stmt
+ (of-object "GdaDataSelect")
+ (prop-type "GParamObject")
+ (docs "")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property model-usage
+ (of-object "GdaDataSelect")
+ (prop-type "GParamUInt")
+ (docs "")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property store-all-rows
+ (of-object "GdaDataSelect")
+ (prop-type "GParamBoolean")
+ (docs "Tells if model has analysed all the rows")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property exec-params
+ (of-object "GdaDataSelect")
+ (prop-type "GParamObject")
+ (docs "GdaSet used when the SELECT statement was executed")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property insert-stmt
+ (of-object "GdaDataSelect")
+ (prop-type "GParamObject")
+ (docs "INSERT Statement to be executed to add data")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property update-stmt
+ (of-object "GdaDataSelect")
+ (prop-type "GParamObject")
+ (docs "UPDATE Statement to be executed to update data")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property delete-stmt
+ (of-object "GdaDataSelect")
+ (prop-type "GParamObject")
+ (docs "DELETE Statement to be executed to remove data")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property select-stmt
+ (of-object "GdaDataSelect")
+ (prop-type "GParamObject")
+ (docs "SELECT statement which was executed to yield to the data model")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
+(define-property auto-reset
+ (of-object "GdaDataSelect")
+ (prop-type "GParamBoolean")
+ (docs "Automatically re-run the SELECT statement if any parameter has chanegd since it was first executed")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GdaHolder
(define-signal source-changed
@@ -599,7 +691,7 @@
(define-signal validate-change
(of-object "GdaHolder")
- (return-type "GError*")
+ (return-type "GdaError*")
(when "last")
(parameters
'("GValue*" "p0")
@@ -853,7 +945,7 @@
(define-signal validate-holder-change
(of-object "GdaSet")
- (return-type "GError*")
+ (return-type "GdaError*")
(when "last")
(parameters
'("GdaHolder*" "p0")
@@ -863,7 +955,7 @@
(define-signal validate-set
(of-object "GdaSet")
- (return-type "GError*")
+ (return-type "GdaError*")
(when "last")
)
Modified: libgdamm/trunk/tools/extra_defs_gen/generate_defs_gda.cc
==============================================================================
--- libgdamm/trunk/tools/extra_defs_gen/generate_defs_gda.cc (original)
+++ libgdamm/trunk/tools/extra_defs_gen/generate_defs_gda.cc Thu Oct 30 14:58:14 2008
@@ -44,7 +44,8 @@
<< get_defs (GDA_TYPE_DATA_MODEL)
<< get_defs (GDA_TYPE_DATA_MODEL_IMPORT)
<< get_defs (GDA_TYPE_DATA_MODEL_ITER)
- << get_defs (GDA_TYPE_DATA_PROXY)
+ << get_defs (GDA_TYPE_DATA_PROXY)
+ << get_defs (GDA_TYPE_DATA_SELECT)
<< get_defs (GDA_TYPE_HOLDER)
<< get_defs (GDA_TYPE_META_STORE)
<< get_defs (GDA_TYPE_META_STRUCT)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]