[Gtk-sharp-list] support for libgnomedb

Rodrigo Moya rodrigo@ximian.com
08 Sep 2002 19:21:15 +0200


--=-z/U0SCAwazMormy62F18
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi

This patch adds libgnomedb to the gtk-sharp module.

gnomedb-api.xml = api/gnomedb-api.xml
Makefile,in = gnomedb/Makefile.in

Can I commit?

cheers
-- 
Rodrigo Moya <rodrigo@ximian.com>

--=-z/U0SCAwazMormy62F18
Content-Disposition: attachment; filename=gnomedb.diff
Content-Type: text/plain; name=gnomedb.diff; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

? gnomedb
? api/Makefile
? api/generated-stamp
? api/gnomedb-api.xml
? gnome/generated/About.cs
? gnome/generated/App.cs
? gnome/generated/AppBar.cs
? gnome/generated/AppBarMsg.cs
? gnome/generated/Canvas.cs
? gnome/generated/CanvasBpath.cs
? gnome/generated/CanvasBpathPriv.cs
? gnome/generated/CanvasBuf.cs
? gnome/generated/CanvasClipgroup.cs
? gnome/generated/CanvasEllipse.cs
? gnome/generated/CanvasGroup.cs
? gnome/generated/CanvasItem.cs
? gnome/generated/CanvasLine.cs
? gnome/generated/CanvasPathDef.cs
? gnome/generated/CanvasPixbuf.cs
? gnome/generated/CanvasPoints.cs
? gnome/generated/CanvasPolygon.cs
? gnome/generated/CanvasRE.cs
? gnome/generated/CanvasRect.cs
? gnome/generated/CanvasRichText.cs
? gnome/generated/CanvasShape.cs
? gnome/generated/CanvasShapePriv.cs
? gnome/generated/CanvasText.cs
? gnome/generated/CanvasWidget.cs
? gnome/generated/Client.cs
? gnome/generated/ClientFlags.cs
? gnome/generated/ClientState.cs
? gnome/generated/ColorPicker.cs
? gnome/generated/DateEdit.cs
? gnome/generated/DateEditFlags.cs
? gnome/generated/DialogType.cs
? gnome/generated/Druid.cs
? gnome/generated/DruidPage.cs
? gnome/generated/DruidPageEdge.cs
? gnome/generated/DruidPageStandard.cs
? gnome/generated/EdgePosition.cs
? gnome/generated/Entry.cs
? gnome/generated/FileDomain.cs
? gnome/generated/FileEntry.cs
? gnome/generated/FontPicker.cs
? gnome/generated/FontPickerMode.cs
? gnome/generated/GdkPixbufAsyncHandle.cs
? gnome/generated/GdkPixbufDoneCallback.cs
? gnome/generated/GdkPixbufLoadCallback.cs
? gnome/generated/GtkSharp.BackClickedHandler.cs
? gnome/generated/GtkSharp.CancelClickedHandler.cs
? gnome/generated/GtkSharp.CanvasEventHandler.cs
? gnome/generated/GtkSharp.ColorSetHandler.cs
? gnome/generated/GtkSharp.ConnectedHandler.cs
? gnome/generated/GtkSharp.DrawBackgroundHandler.cs
? gnome/generated/GtkSharp.FinishClickedHandler.cs
? gnome/generated/GtkSharp.FontSetHandler.cs
? gnome/generated/GtkSharp.GnomeGdkPixbufDoneCallbackNative.cs
? gnome/generated/GtkSharp.GnomeGdkPixbufLoadCallbackNative.cs
? gnome/generated/GtkSharp.GnomeInteractFunctionNative.cs
? gnome/generated/GtkSharp.GnomeModuleClassInitHookNative.cs
? gnome/generated/GtkSharp.GnomeModuleHookNative.cs
? gnome/generated/GtkSharp.GnomeModuleInitHookNative.cs
? gnome/generated/GtkSharp.GnomeReplyCallbackNative.cs
? gnome/generated/GtkSharp.GnomeStringCallbackNative.cs
? gnome/generated/GtkSharp.GnomeTriggerActionFunctionNative.cs
? gnome/generated/GtkSharp.GnomeUISignalConnectFuncNative.cs
? gnome/generated/GtkSharp.IconFocusedHandler.cs
? gnome/generated/GtkSharp.IconSelectedHandler.cs
? gnome/generated/GtkSharp.IconUnselectedHandler.cs
? gnome/generated/GtkSharp.MoveCursorHandler.cs
? gnome/generated/GtkSharp.NextClickedHandler.cs
? gnome/generated/GtkSharp.PreparedHandler.cs
? gnome/generated/GtkSharp.RenderBackgroundHandler.cs
? gnome/generated/GtkSharp.SaveYourselfHandler.cs
? gnome/generated/GtkSharp.TextChangedHandler.cs
? gnome/generated/HRef.cs
? gnome/generated/HelpError.cs
? gnome/generated/IconEntry.cs
? gnome/generated/IconList.cs
? gnome/generated/IconListMode.cs
? gnome/generated/IconSelection.cs
? gnome/generated/IconTextItem.cs
? gnome/generated/InteractFunction.cs
? gnome/generated/InteractStyle.cs
? gnome/generated/ModuleClassInitHook.cs
? gnome/generated/ModuleHook.cs
? gnome/generated/ModuleInfo.cs
? gnome/generated/ModuleInitHook.cs
? gnome/generated/ModuleRequirement.cs
? gnome/generated/PixmapEntry.cs
? gnome/generated/PreferencesType.cs
? gnome/generated/Program.cs
? gnome/generated/ReplyCallback.cs
? gnome/generated/RestartStyle.cs
? gnome/generated/SaveStyle.cs
? gnome/generated/Scores.cs
? gnome/generated/Stock.cs
? gnome/generated/StringCallback.cs
? gnome/generated/Trigger.cs
? gnome/generated/TriggerActionFunction.cs
? gnome/generated/TriggerList.cs
? gnome/generated/TriggerType.cs
? gnome/generated/UIBuilderData.cs
? gnome/generated/UIInfo.cs
? gnome/generated/UIInfoConfigurableTypes.cs
? gnome/generated/UIInfoType.cs
? gnome/generated/UIPixmapType.cs
? gnome/generated/UISignalConnectFunc.cs
? gnome/generated/URLError.cs
? gnome/generated/boolObjectEventSignal.cs
? gnome/generated/boolObjectObjectSignal.cs
? gnome/generated/boolObjectSignal.cs
? gnome/generated/boolObjectintSaveStyleboolInteractStyleboolSignal.cs
? gnome/generated/boolObjectintstringSignal.cs
? gnome/generated/voidObjectCanvasBufSignal.cs
? gnome/generated/voidObjectDirectionTypeboolSignal.cs
? gnome/generated/voidObjectObjectSignal.cs
? gnome/generated/voidObjectObjectintintintintSignal.cs
? gnome/generated/voidObjectSignal.cs
? gnome/generated/voidObjectboolSignal.cs
? gnome/generated/voidObjectintEventSignal.cs
? gnome/generated/voidObjectintSignal.cs
? gnome/generated/voidObjectstringSignal.cs
? gnome/generated/voidObjectuintuintuintuintSignal.cs
? parser/Makefile
? parser/gapi_format_xml
Index: ChangeLog
===================================================================
RCS file: /cvs/public/gtk-sharp/ChangeLog,v
retrieving revision 1.214
diff -u -r1.214 ChangeLog
--- ChangeLog	8 Sep 2002 01:29:06 -0000	1.214
+++ ChangeLog	8 Sep 2002 17:16:37 -0000
@@ -1,3 +1,12 @@
+2002-09-08  Rodrigo Moya <rodrigo@gnome-db.org>
+
+	* makefile:
+	* configure.in:
+	* sources/gtk-sharp.sources: added needed stuff for libgnomedb.
+
+	* api/Makefile.in:
+	* api/gnomedb-api.xml: new file for libgnomedb API.
+
 2002-09-07  Rachel Hestilow  <hestilow@ximian.com>
 
 	* parser/gapi2xml.pl: Add support for "fake struct" opaque types.
Index: configure.in
===================================================================
RCS file: /cvs/public/gtk-sharp/configure.in,v
retrieving revision 1.17
diff -u -r1.17 configure.in
--- configure.in	1 Sep 2002 10:28:11 -0000	1.17
+++ configure.in	8 Sep 2002 17:16:38 -0000
@@ -79,6 +79,12 @@
 if test "x$enable_gda" = "xyes"; then
 	BASE_DEPENDENCIES_CFLAGS="$BASE_DEPENDENCIES_CFLAGS $LIBGDA_DEPENDENCIES_CFLAGS"
 	BASE_DEPENDENCIES_LIBS="$BASE_DEPENDENCIES_LIBS $LIBGDA_DEPENDENCIES_LIBS"
+
+	PKG_CHECK_MODULES(LIBGNOMEDB_DEPENDENCIES, libgnomedb >= $LIBGDA_REQUIRED_VERSION, enable_gnomedb=yes, enable_gnomedb=no)
+	if test "x$enable_gnomedb" = "xyes"; then
+		BASE_DEPENDENCIES_CFLAGS="$BASE_DEPENDENCIES_CFLAGS $LIBGNOMEDB_DEPENDENCIES_CFLAGS"
+		BASE_DEPENDENCIES_LIBS="$BASE_DEPENDENCIES_LIBS $LIBGNOMEDB_DEPENDENCIES_LIBS"
+	fi
 fi
 
 AC_SUBST(BASE_DEPENDENCIES_CFLAGS)
@@ -87,6 +93,7 @@
 AM_CONDITIONAL(ENABLE_GNOME, test "x$enable_gnome" = "xyes")
 AM_CONDITIONAL(ENABLE_GLADE, test "x$enable_glade" = "xyes")
 AM_CONDITIONAL(ENABLE_GDA, test "x$enable_gda" = "xyes")
+AM_CONDITIONAL(ENABLE_GNOMEDB, test "x$enable_gnomedb" = "xyes")
 
 AC_SUBST(CFLAGS)
 
@@ -104,6 +111,7 @@
 glade/Makefile
 gnome/Makefile
 gda/Makefile
+gnomedb/Makefile
 sample/Makefile
 ])
 
Index: makefile
===================================================================
RCS file: /cvs/public/gtk-sharp/makefile,v
retrieving revision 1.29
diff -u -r1.29 makefile
--- makefile	1 Sep 2002 10:28:11 -0000	1.29
+++ makefile	8 Sep 2002 17:16:38 -0000
@@ -1,6 +1,6 @@
 NATIVE_DIRS = glue parser
 
-DIRS=generator api glib pango atk gdk gtk glade art gnome gda sample
+DIRS=generator api glib pango atk gdk gtk glade art gnome gda gnomedb sample
 ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
 CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
 MCS=mcs
Index: api/Makefile.in
===================================================================
RCS file: /cvs/public/gtk-sharp/api/Makefile.in,v
retrieving revision 1.3
diff -u -r1.3 Makefile.in
--- api/Makefile.in	1 Sep 2002 10:28:11 -0000	1.3
+++ api/Makefile.in	8 Sep 2002 17:16:38 -0000
@@ -8,7 +8,8 @@
 	glade-api.xml \
 	art-api.xml \
 	gnome-api.xml \
-	gda-api.xml
+	gda-api.xml \
+	gnomedb-api.xml
 
 RUNTIME=mono 
 
Index: sources/gtk-sharp.sources
===================================================================
RCS file: /cvs/public/gtk-sharp/sources/gtk-sharp.sources,v
retrieving revision 1.2
diff -u -r1.2 gtk-sharp.sources
--- sources/gtk-sharp.sources	1 Sep 2002 10:28:11 -0000	1.2
+++ sources/gtk-sharp.sources	8 Sep 2002 17:16:38 -0000
@@ -10,3 +10,4 @@
 libglade-2.0.0/glade Glade glade-2.0
 libart_lgpl-2.3.10 Art art_lgpl
 libgda-0.8.193/libgda Gda gda-2
+libgnomedb-0.8.193/libgnomedb GnomeDb gnomedb-2

--=-z/U0SCAwazMormy62F18
Content-Disposition: attachment; filename=gnomedb-api.xml
Content-Type: text/xml; name=gnomedb-api.xml; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

<?xml version="1.0"?>
<api>
  <namespace name="GnomeDb" library="gnomedb-2">
    <enum name="ComponentType" cname="GnomeDbComponentType" type="enum">
      <member cname="GNOME_DB_COMPONENT_TYPE_INVALID" name="Invalid"/>
      <member cname="GNOME_DB_COMPONENT_TYPE_EXE" name="Exe"/>
      <member cname="GNOME_DB_COMPONENT_TYPE_SHLIB" name="Shlib"/>
      <member cname="GNOME_DB_COMPONENT_TYPE_FACTORY" name="Factory"/>
    </enum>
    <enum name="FormType" cname="GnomeDbFormType" type="enum">
      <member cname="GNOME_DB_FORM_TYPE_NAVIGATOR" name="Navigator"/>
      <member cname="GNOME_DB_FORM_TYPE_LIST" name="List"/>
    </enum>
    <callback name="GridForeachFunc" cname="GnomeDbGridForeachFunc">
      <return-type type="void"/>
      <parameters>
        <parameter type="GnomeDbGrid*" name="grid"/>
        <parameter type="gint" name="row"/>
        <parameter type="gpointer" name="user_data"/>
      </parameters>
    </callback>
    <callback name="SqlEditorRunFunc" cname="GnomeDbSqlEditorRunFunc">
      <return-type type="gboolean"/>
      <parameters>
        <parameter type="GnomeDbSqlEditorCommand*" name="cmd"/>
        <parameter type="gpointer" name="user_data"/>
      </parameters>
    </callback>
    <object name="Browser" cname="GnomeDbBrowser" parent="GtkVBox">
      <field cname="priv" type="GnomeDbBrowserPrivate*"/>
      <property name="Connection" cname="connection" type="GdaConnection" doc-string=" NULL" readable="true" writeable="true"/>
      <signal name="ProgressMessage" cname="progress_message" when="LAST">
        <return-type type="void"/>
        <parameters>
          <parameter type="GnomeDbBrowser*" name="browser"/>
          <parameter type="const-gchar*" name="msg"/>
        </parameters>
      </signal>
      <method name="GetConnection" cname="gnome_db_browser_get_connection">
        <return-type type="GdaConnection*"/>
      </method>
      <method name="GetType" cname="gnome_db_browser_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_browser_new"/>
      <method name="Refresh" cname="gnome_db_browser_refresh">
        <return-type type="void"/>
      </method>
      <method name="SetConnection" cname="gnome_db_browser_set_connection">
        <return-type type="void"/>
        <parameters>
          <parameter type="GdaConnection*" name="cnc"/>
        </parameters>
      </method>
    </object>
    <object name="Combo" cname="GnomeDbCombo" parent="GtkCombo">
      <field cname="priv" type="GnomeDbComboPrivate*"/>
      <property name="Model" cname="model" type="GdaDataModel" doc-string=" NULL" readable="true" writeable="true"/>
      <method name="GetType" cname="gnome_db_combo_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_combo_new"/>
      <method name="SetModel" cname="gnome_db_combo_set_model">
        <return-type type="void"/>
        <parameters>
          <parameter type="GdaDataModel*" name="model"/>
          <parameter type="gint" name="pos"/>
        </parameters>
      </method>
    </object>
    <object name="ConnectionProperties" cname="GnomeDbConnectionProperties" parent="GtkVBox">
      <field cname="priv" type="GnomeDbConnectionPropertiesPrivate*"/>
      <method name="GetConnection" cname="gnome_db_connection_properties_get_connection">
        <return-type type="GdaConnection*"/>
      </method>
      <method name="GetType" cname="gnome_db_connection_properties_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_connection_properties_new">
        <parameters>
          <parameter type="GdaConnection*" name="cnc"/>
        </parameters>
      </constructor>
      <method name="SetConnection" cname="gnome_db_connection_properties_set_connection">
        <return-type type="void"/>
        <parameters>
          <parameter type="GdaConnection*" name="cnc"/>
        </parameters>
      </method>
    </object>
    <object name="ConnectionSelector" cname="GnomeDbConnectionSelector" parent="GtkOptionMenu">
      <field cname="priv" type="GnomeDbConnectionSelectorPrivate*"/>
      <method name="GetType" cname="gnome_db_connection_selector_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_connection_selector_new"/>
    </object>
    <object name="ControlWidget" cname="GnomeDbControlWidget" parent="GtkVBox">
      <field cname="priv" type="GnomeDbControlWidgetPrivate*"/>
      <method name="Activate" cname="gnome_db_control_widget_activate">
        <return-type type="void"/>
      </method>
      <method name="Construct" cname="gnome_db_control_widget_construct">
        <return-type type="GtkWidget*"/>
        <parameters>
          <parameter type="const-gchar*" name="id"/>
          <parameter type="Bonobo_UIContainer" name="uic"/>
        </parameters>
      </method>
      <method name="Deactivate" cname="gnome_db_control_widget_deactivate">
        <return-type type="void"/>
      </method>
      <method name="GetId" cname="gnome_db_control_widget_get_id">
        <return-type type="const-gchar*"/>
      </method>
      <method name="GetObjref" cname="gnome_db_control_widget_get_objref">
        <return-type type="Bonobo_Unknown"/>
      </method>
      <method name="GetType" cname="gnome_db_control_widget_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <method name="GetUiContainer" cname="gnome_db_control_widget_get_ui_container">
        <return-type type="Bonobo_UIContainer"/>
      </method>
      <method name="IsAlive" cname="gnome_db_control_widget_is_alive">
        <return-type type="gboolean"/>
      </method>
      <constructor cname="gnome_db_control_widget_new">
        <parameters>
          <parameter type="const-gchar*" name="id"/>
          <parameter type="Bonobo_UIContainer" name="uic"/>
        </parameters>
      </constructor>
      <constructor cname="gnome_db_control_widget_new_from_corba">
        <parameters>
          <parameter type="Bonobo_Control" name="control"/>
          <parameter type="Bonobo_UIContainer" name="uic"/>
        </parameters>
      </constructor>
    </object>
    <object name="DataSourceSelector" cname="GnomeDbDataSourceSelector" parent="GtkOptionMenu">
      <field cname="priv" type="GnomeDbDataSourceSelectorPrivate*"/>
      <method name="GetType" cname="gnome_db_data_source_selector_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_data_source_selector_new">
        <parameters>
          <parameter type="const-gchar*" name="provider"/>
        </parameters>
      </constructor>
    </object>
    <object name="DsnConfig" cname="GnomeDbDsnConfig" parent="GtkVBox">
      <field cname="priv" type="GnomeDbDsnConfigPrivate*"/>
      <method name="GetInfo" cname="gnome_db_dsn_config_get_info">
        <return-type type="GdaDataSourceInfo*"/>
      </method>
      <method name="GetType" cname="gnome_db_dsn_config_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_dsn_config_new"/>
      <method name="SetInfo" cname="gnome_db_dsn_config_set_info">
        <return-type type="void"/>
        <parameters>
          <parameter type="const-GdaDataSourceInfo*" name="dsn_info"/>
        </parameters>
      </method>
    </object>
    <object name="DsnConfigDruid" cname="GnomeDbDsnConfigDruid" parent="GnomeDruid">
      <field cname="priv" type="GnomeDbDsnConfigDruidPrivate*"/>
      <signal name="Finished" cname="finished" when="LAST">
        <return-type type="void"/>
        <parameters>
          <parameter type="GnomeDbDsnConfigDruid*" name="druid"/>
          <parameter type="gboolean" name="error"/>
        </parameters>
      </signal>
      <method name="GetDsn" cname="gnome_db_dsn_config_druid_get_dsn">
        <return-type type="const-GdaDataSourceInfo*"/>
      </method>
      <method name="GetType" cname="gnome_db_dsn_config_druid_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_dsn_config_druid_new"/>
    </object>
    <object name="Error" cname="GnomeDbError" parent="GtkVBox">
      <field cname="priv" type="GnomeDbErrorPrivate*"/>
      <method name="Clear" cname="gnome_db_error_clear">
        <return-type type="void"/>
      </method>
      <method name="GetPosition" cname="gnome_db_error_get_position">
        <return-type type="gint"/>
      </method>
      <method name="GetType" cname="gnome_db_error_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_error_new"/>
      <method name="Next" cname="gnome_db_error_next">
        <return-type type="void"/>
      </method>
      <method name="Prev" cname="gnome_db_error_prev">
        <return-type type="void"/>
      </method>
      <method name="Show" cname="gnome_db_error_show">
        <return-type type="void"/>
        <parameters>
          <parameter type="GList*" name="errors"/>
        </parameters>
      </method>
    </object>
    <object name="ErrorDialog" cname="GnomeDbErrorDialog" parent="GtkDialog">
      <field cname="priv" type="GnomeDbErrorDialogPrivate*"/>
      <property name="Title" cname="title" type="gchar*" doc-string=" NULL" readable="true" writeable="true"/>
      <method name="GetTitle" cname="gnome_db_error_dialog_get_title">
        <return-type type="const-gchar*"/>
      </method>
      <method name="GetType" cname="gnome_db_error_dialog_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_error_dialog_new">
        <parameters>
          <parameter type="gchar*" name="title"/>
        </parameters>
      </constructor>
      <method name="SetTitle" cname="gnome_db_error_dialog_set_title">
        <return-type type="void"/>
        <parameters>
          <parameter type="const-gchar*" name="title"/>
        </parameters>
      </method>
      <method name="ShowErrors" cname="gnome_db_error_dialog_show_errors">
        <return-type type="void"/>
        <parameters>
          <parameter type="GList*" name="error_list"/>
        </parameters>
      </method>
    </object>
    <object name="Form" cname="GnomeDbForm" parent="GtkVBox">
      <field cname="priv" type="GnomeDbFormPrivate*"/>
      <signal name="ModelChanged" cname="model_changed" when="LAST">
        <return-type type="void"/>
        <parameters>
          <parameter type="GnomeDbForm*" name="form"/>
        </parameters>
      </signal>
      <method name="GetFormType" cname="gnome_db_form_get_form_type">
        <return-type type="GnomeDbFormType"/>
      </method>
      <method name="GetModel" cname="gnome_db_form_get_model">
        <return-type type="GdaDataModel*"/>
      </method>
      <method name="GetType" cname="gnome_db_form_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_form_new"/>
      <method name="SetFormType" cname="gnome_db_form_set_form_type">
        <return-type type="void"/>
        <parameters>
          <parameter type="GnomeDbFormType" name="type"/>
        </parameters>
      </method>
      <method name="SetModel" cname="gnome_db_form_set_model">
        <return-type type="void"/>
        <parameters>
          <parameter type="GdaDataModel*" name="model"/>
        </parameters>
      </method>
    </object>
    <object name="GrayBar" cname="GnomeDbGrayBar" parent="GtkEventBox">
      <field cname="priv" type="GnomeDbGrayBarPrivate*"/>
      <property name="Text" cname="text" type="gchar*" doc-string=" NULL" readable="true" writeable="true"/>
      <method name="GetType" cname="gnome_db_gray_bar_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_gray_bar_new">
        <parameters>
          <parameter type="const-gchar*" name="text"/>
        </parameters>
      </constructor>
      <method name="SetText" cname="gnome_db_gray_bar_set_text">
        <return-type type="void"/>
        <parameters>
          <parameter type="const-gchar*" name="text"/>
        </parameters>
      </method>
    </object>
    <object name="Grid" cname="GnomeDbGrid" parent="GtkVBox">
      <field cname="priv" type="GnomeDbGridPrivate*"/>
      <property name="Model" cname="model" type="GdaDataModel" doc-string=" NULL" readable="true" writeable="true"/>
      <signal name="RowSelected" cname="row_selected" when="LAST">
        <return-type type="void"/>
        <parameters>
          <parameter type="GnomeDbGrid*" name="grid"/>
          <parameter type="gint" name="row"/>
        </parameters>
      </signal>
      <signal name="SelectionCleared" cname="selection_cleared" when="LAST">
        <return-type type="void"/>
        <parameters>
          <parameter type="GnomeDbGrid*" name="grid"/>
        </parameters>
      </signal>
      <method name="ForeachSelected" cname="gnome_db_grid_foreach_selected">
        <return-type type="void"/>
        <parameters>
          <parameter type="GnomeDbGridForeachFunc" name="foreach_func"/>
          <parameter type="gpointer" name="user_data"/>
        </parameters>
      </method>
      <method name="GetModel" cname="gnome_db_grid_get_model">
        <return-type type="GdaDataModel*"/>
      </method>
      <method name="GetSelection" cname="gnome_db_grid_get_selection">
        <return-type type="GList*"/>
      </method>
      <method name="GetSelectionMode" cname="gnome_db_grid_get_selection_mode">
        <return-type type="GtkSelectionMode"/>
      </method>
      <method name="GetShowTitle" cname="gnome_db_grid_get_show_title">
        <return-type type="gboolean"/>
      </method>
      <method name="GetTitle" cname="gnome_db_grid_get_title">
        <return-type type="const-gchar*"/>
      </method>
      <method name="GetType" cname="gnome_db_grid_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <method name="HideColumnTitles" cname="gnome_db_grid_hide_column_titles">
        <return-type type="void"/>
      </method>
      <constructor cname="gnome_db_grid_new"/>
      <constructor cname="gnome_db_grid_new_with_model">
        <parameters>
          <parameter type="GdaDataModel*" name="model"/>
        </parameters>
      </constructor>
      <method name="SelectAll" cname="gnome_db_grid_select_all">
        <return-type type="void"/>
      </method>
      <method name="SetModel" cname="gnome_db_grid_set_model">
        <return-type type="void"/>
        <parameters>
          <parameter type="GdaDataModel*" name="model"/>
        </parameters>
      </method>
      <method name="SetSelectionMode" cname="gnome_db_grid_set_selection_mode">
        <return-type type="void"/>
        <parameters>
          <parameter type="GtkSelectionMode" name="mode"/>
        </parameters>
      </method>
      <method name="SetShowTitle" cname="gnome_db_grid_set_show_title">
        <return-type type="void"/>
        <parameters>
          <parameter type="gboolean" name="show"/>
        </parameters>
      </method>
      <method name="SetTitle" cname="gnome_db_grid_set_title">
        <return-type type="void"/>
        <parameters>
          <parameter type="const-gchar*" name="title"/>
        </parameters>
      </method>
      <method name="ShowColumnTitles" cname="gnome_db_grid_show_column_titles">
        <return-type type="void"/>
      </method>
      <method name="UnselectAll" cname="gnome_db_grid_unselect_all">
        <return-type type="void"/>
      </method>
    </object>
    <object name="List" cname="GnomeDbList" parent="GtkVBox">
      <field cname="priv" type="GnomeDbListPrivate*"/>
      <property name="Model" cname="model" type="GdaDataModel" doc-string=" NULL" readable="true" writeable="true"/>
      <signal name="RowSelected" cname="row_selected" when="LAST">
        <return-type type="void"/>
        <parameters>
          <parameter type="GnomeDbList*" name="list"/>
          <parameter type="gint" name="row"/>
        </parameters>
      </signal>
      <signal name="SelectionCleared" cname="selection_cleared" when="LAST">
        <return-type type="void"/>
        <parameters>
          <parameter type="GnomeDbList*" name="list"/>
          <parameter type="gint" name="row"/>
        </parameters>
      </signal>
      <method name="GetModel" cname="gnome_db_list_get_model">
        <return-type type="GdaDataModel*"/>
      </method>
      <method name="GetType" cname="gnome_db_list_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_list_new"/>
      <constructor cname="gnome_db_list_new_with_model">
        <parameters>
          <parameter type="GdaDataModel*" name="model"/>
          <parameter type="gint" name="col"/>
        </parameters>
      </constructor>
      <method name="SetModel" cname="gnome_db_list_set_model">
        <return-type type="void"/>
        <parameters>
          <parameter type="GdaDataModel*" name="model"/>
          <parameter type="gint" name="col"/>
        </parameters>
      </method>
    </object>
    <object name="Login" cname="GnomeDbLogin" parent="GtkVBox">
      <field cname="priv" type="GnomeDbLoginPrivate*"/>
      <property name="Dsn" cname="dsn" type="gchar*" doc-string=" NULL" readable="true"/>
      <property name="Username" cname="username" type="gchar*" doc-string=" NULL" readable="true"/>
      <property name="Password" cname="password" type="gchar*" doc-string=" NULL" readable="true"/>
      <method name="GetDsn" cname="gnome_db_login_get_dsn">
        <return-type type="const-gchar*"/>
      </method>
      <method name="GetPassword" cname="gnome_db_login_get_password">
        <return-type type="const-gchar*"/>
      </method>
      <method name="GetType" cname="gnome_db_login_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <method name="GetUsername" cname="gnome_db_login_get_username">
        <return-type type="const-gchar*"/>
      </method>
      <constructor cname="gnome_db_login_new">
        <parameters>
          <parameter type="const-gchar*" name="dsn"/>
        </parameters>
      </constructor>
    </object>
    <object name="LoginDialog" cname="GnomeDbLoginDialog" parent="GtkDialog">
      <field cname="priv" type="GnomeDbLoginDialogPrivate*"/>
      <property name="Dsn" cname="dsn" type="gchar*" doc-string=" NULL" readable="true"/>
      <property name="Username" cname="username" type="gchar*" doc-string=" NULL" readable="true"/>
      <property name="Password" cname="password" type="gchar*" doc-string=" NULL" readable="true"/>
      <method name="GetDsn" cname="gnome_db_login_dialog_get_dsn">
        <return-type type="const-gchar*"/>
      </method>
      <method name="GetPassword" cname="gnome_db_login_dialog_get_password">
        <return-type type="const-gchar*"/>
      </method>
      <method name="GetType" cname="gnome_db_login_dialog_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <method name="GetUsername" cname="gnome_db_login_dialog_get_username">
        <return-type type="const-gchar*"/>
      </method>
      <constructor cname="gnome_db_login_dialog_new">
        <parameters>
          <parameter type="const-gchar*" name="title"/>
        </parameters>
      </constructor>
      <method name="Run" cname="gnome_db_login_dialog_run">
        <return-type type="gboolean"/>
      </method>
    </object>
    <object name="ProviderSelector" cname="GnomeDbProviderSelector" parent="GtkOptionMenu">
      <field cname="priv" type="GnomeDbProviderSelectorPrivate*"/>
      <method name="GetType" cname="gnome_db_provider_selector_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_provider_selector_new"/>
    </object>
    <object name="ReportEditor" cname="GnomeDbReportEditor" parent="GtkVBox">
      <field cname="priv" type="GnomeDbReportEditorPrivate*"/>
      <method name="GetType" cname="gnome_db_report_editor_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_report_editor_new"/>
    </object>
    <object name="SqlEditor" cname="GnomeDbSqlEditor" parent="GtkVBox">
      <field cname="priv" type="GnomeDbSqlEditorPrivate*"/>
      <method name="Debug" cname="gnome_db_sql_editor_debug">
        <return-type type="void"/>
        <parameters>
          <parameter type="gchar*" name="text"/>
        </parameters>
      </method>
      <method name="DebugSetup" cname="gnome_db_sql_editor_debug_setup">
        <return-type type="void"/>
        <parameters>
          <parameter type="GtkTextView*" name="dtv"/>
        </parameters>
      </method>
      <method name="ForeachCommand" cname="gnome_db_sql_editor_foreach_command">
        <return-type type="gboolean"/>
        <parameters>
          <parameter type="gboolean" name="run_at_pref"/>
          <parameter type="GnomeDbSqlEditorRunFunc" name="run_command"/>
          <parameter type="gpointer" name="user_data"/>
        </parameters>
      </method>
      <method name="GetAllCommands" cname="gnome_db_sql_editor_get_all_commands">
        <return-type type="GList*"/>
        <parameters>
          <parameter type="gboolean" name="run_at_pref"/>
        </parameters>
      </method>
      <method name="GetAllText" cname="gnome_db_sql_editor_get_all_text">
        <return-type type="gchar*"/>
      </method>
      <method name="GetCommandAtCursor" cname="gnome_db_sql_editor_get_command_at_cursor">
        <return-type type="GnomeDbSqlEditorCommand*"/>
      </method>
      <method name="GetText" cname="gnome_db_sql_editor_get_text">
        <return-type type="gchar*"/>
        <parameters>
          <parameter type="GtkTextIter*" name="start"/>
          <parameter type="GtkTextIter*" name="end"/>
        </parameters>
      </method>
      <method name="GetTextBuffer" cname="gnome_db_sql_editor_get_text_buffer">
        <return-type type="GtkTextBuffer*"/>
      </method>
      <method name="GetTextView" cname="gnome_db_sql_editor_get_text_view">
        <return-type type="GtkTextView*"/>
      </method>
      <method name="GetType" cname="gnome_db_sql_editor_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <method name="InsertText" cname="gnome_db_sql_editor_insert_text">
        <return-type type="void"/>
        <parameters>
          <parameter type="GtkTextIter*" name="iter"/>
          <parameter type="gchar*" name="text"/>
          <parameter type="gint" name="len"/>
        </parameters>
      </method>
      <method name="LoadFromFile" cname="gnome_db_sql_editor_load_from_file">
        <return-type type="gboolean"/>
        <parameters>
          <parameter type="const-gchar*" name="filename"/>
        </parameters>
      </method>
      <constructor cname="gnome_db_sql_editor_new"/>
      <method name="SaveToFile" cname="gnome_db_sql_editor_save_to_file">
        <return-type type="gboolean"/>
        <parameters>
          <parameter type="const-gchar*" name="filename"/>
        </parameters>
      </method>
      <method name="SetEditable" cname="gnome_db_sql_editor_set_editable">
        <return-type type="void"/>
        <parameters>
          <parameter type="gboolean" name="setting"/>
        </parameters>
      </method>
      <method name="SetText" cname="gnome_db_sql_editor_set_text">
        <return-type type="void"/>
        <parameters>
          <parameter type="const-gchar*" name="text"/>
          <parameter type="gint" name="len"/>
        </parameters>
      </method>
      <method name="UseSyntaxHiLighting" cname="gnome_db_sql_editor_use_syntax_hi_lighting">
        <return-type type="void"/>
        <parameters>
          <parameter type="gboolean" name="hi_lighting"/>
        </parameters>
      </method>
    </object>
    <object name="TableEditor" cname="GnomeDbTableEditor" parent="GtkVBox">
      <field cname="priv" type="GnomeDbTableEditorPrivate*"/>
      <method name="GetType" cname="gnome_db_table_editor_get_type" shared="true">
        <return-type type="GType"/>
      </method>
      <constructor cname="gnome_db_table_editor_new"/>
    </object>
    <struct name="ComponentInfo" cname="GnomeDbComponentInfo">
      <field cname="id" type="gchar*"/>
      <field cname="location" type="gchar*"/>
      <field cname="type" type="GnomeDbComponentType"/>
      <field cname="description" type="gchar*"/>
      <field cname="repo_ids" type="GList*"/>
      <field cname="username" type="gchar*"/>
      <field cname="hostname" type="gchar*"/>
      <field cname="domain" type="gchar*"/>
      <field cname="properties" type="GdaParameterList*"/>
    </struct>
    <struct name="SqlEditorClass" cname="GnomeDbSqlEditorClass">
      <field cname="parent_class" type="GtkVBoxClass"/>
      <callback cname="text_changed">
        <return-type type="void"/>
        <parameters>
          <parameter type="GnomeDbSqlEditor*" name="sql_editor"/>
        </parameters>
      </callback>
    </struct>
    <struct name="SqlEditorCommand" cname="GnomeDbSqlEditorCommand">
      <field cname="offset" type="gint"/>
      <field cname="sql_statement" type="gchar*"/>
      <field cname="error" type="gint"/>
    </struct>
    <object name="Stock" cname="GnomeDbStock">
      <static-string cname="GNOME_DB_STOCK_CONNECT" name="Connect" value="gnome-db-connect"/>
      <static-string cname="GNOME_DB_STOCK_DATABASE" name="Database" value="gnome-db-database"/>
      <static-string cname="GNOME_DB_STOCK_DESIGNER" name="Designer" value="gnome-db-designer"/>
      <static-string cname="GNOME_DB_STOCK_DISCONNECT" name="Disconnect" value="gnome-db-disconnect"/>
      <static-string cname="GNOME_DB_STOCK_SQL" name="Sql" value="gnome-db-sql"/>
      <static-string cname="GNOME_DB_STOCK_TABLES" name="Tables" value="gnome-db-tables"/>
    </object>
  </namespace>
</api>

--=-z/U0SCAwazMormy62F18
Content-Disposition: attachment; filename=Makefile.in
Content-Type: text/x-makefile; name=Makefile.in; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

MCS=mcs
DESTDIR=

@ENABLE_GNOMEDB_TRUE@ all: linux
@ENABLE_GNOMEDB_FALSE@ all: 

windows:
	$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll /r:../gnome/gnome-sharp.dll /r:../gda/gda-sharp.dll /out:gnomedb-sharp.dll /recurse:*.cs

linux: gnomedb-sharp.dll

gnomedb-sharp.dll: generated/*.cs
	$(MCS) --unsafe --target library -L ../glib -r glib-sharp.dll -r gtk-sharp.dll -r gnome-sharp.dll -r gda-sharp.dll -o gnomedb-sharp.dll --recurse '*.cs'

clean:
	rm -f *.dll
	rm -rf generated

install: all
@ENABLE_GNOMEDB_TRUE@	cp gnomedb-sharp.dll $(DESTDIR)@prefix@/lib

--=-z/U0SCAwazMormy62F18--