[vala-extra-vapis/2-add-vda-and-its-dependencies: 2/2] VDA: fixed GIR generation with updated VAPI
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala-extra-vapis/2-add-vda-and-its-dependencies: 2/2] VDA: fixed GIR generation with updated VAPI
- Date: Mon, 23 Sep 2019 23:13:06 +0000 (UTC)
commit 198810edd10b0fa990a586ea62d17f3d4a0137e4
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date: Mon Sep 23 18:12:27 2019 -0500
VDA: fixed GIR generation with updated VAPI
vgda-1.vapi | 46 ----------------------------------------------
vgpg-1.vapi | 2 +-
vpg-1.vapi | 2 --
3 files changed, 1 insertion(+), 49 deletions(-)
---
diff --git a/vgda-1.vapi b/vgda-1.vapi
index a591888..e62263b 100644
--- a/vgda-1.vapi
+++ b/vgda-1.vapi
@@ -2,56 +2,10 @@
[CCode (gir_namespace = "Vgda", gir_version = "1")]
namespace Vgda {
- [CCode (cheader_filename = "vgda.h")]
- public class GDataModelIterable : Gee.AbstractCollection<GLib.Value?>, Gda.DataModel {
- public GDataModelIterable (Gda.DataModel model);
- public override bool add (GLib.Value? item);
- public int append_row () throws GLib.Error;
- public int append_values (GLib.List<GLib.Value?>? values) throws GLib.Error;
- public override void clear ();
- public override bool contains (GLib.Value? item);
- public Gda.DataModelIter create_iter ();
- public unowned Gda.Column? describe_column (int col);
- public new bool @foreach (Gee.ForallFunc<GLib.Value?> f);
- public void freeze ();
- public Gda.DataModelAccessFlags get_access_flags ();
- public Gda.ValueAttribute get_attributes_at (int col, int row);
- public unowned GLib.Error[] get_exceptions ();
- public int get_n_columns ();
- public int get_n_rows ();
- public bool get_notify ();
- public int get_row_from_values (GLib.SList<GLib.Value?> values, [CCode (array_length =
false)] int[] cols_index);
- public unowned GLib.Value? get_value_at (int col, int row) throws GLib.Error;
- public bool iter_at_row (Gda.DataModelIter iter, int row);
- public bool iter_next (Gda.DataModelIter iter);
- public bool iter_prev (Gda.DataModelIter iter);
- public bool iter_set_value (Gda.DataModelIter iter, int col, GLib.Value value) throws
GLib.Error;
- public override Gee.Iterator<GLib.Value?> iterator ();
- public override bool remove (GLib.Value? item);
- public bool remove_row (int row) throws GLib.Error;
- public void send_hint (Gda.DataModelHint hint, GLib.Value? hint_value);
- public void set_notify (bool do_notify_changes);
- public bool set_value_at (int col, int row, GLib.Value value) throws GLib.Error;
- public bool set_values (int row, GLib.List<GLib.Value?>? values) throws GLib.Error;
- public void thaw ();
- public override bool read_only { get; }
- public override Gee.Collection<GLib.Value?> read_only_view { owned get; }
- public override int size { get; }
- }
- [CCode (cheader_filename = "vgda.h")]
- public class GDataModelIterator : GLib.Object, Gee.Traversable<GLib.Value?>,
Gee.Iterator<GLib.Value?> {
- public GDataModelIterator (Gda.DataModel model);
- public int current_column { get; }
- public int current_row { get; }
- }
[CCode (cheader_filename = "vgda.h")]
public class GProvider : GLib.Object, Vda.Connection {
protected string _cnc_string;
protected string _provider;
- protected Vda.Connection.Status _status;
public GProvider ();
- public virtual Vda.Role? current_user ();
- public string value_to_string (GLib.Value val);
- public Gda.Connection cnc { get; }
}
}
diff --git a/vgpg-1.vapi b/vgpg-1.vapi
index c797e5c..01325a8 100644
--- a/vgpg-1.vapi
+++ b/vgpg-1.vapi
@@ -5,7 +5,7 @@ namespace Vgpg {
[CCode (cheader_filename = "vgpg.h")]
public class Connection : Vgda.GProvider {
public Connection ();
- public override Vda.Role? current_user ();
+ public Vda.Role? current_user ();
}
[CCode (cheader_filename = "vgpg.h")]
public class PostgresRole : GLib.Object, Vda.Role {
diff --git a/vpg-1.vapi b/vpg-1.vapi
index 0396f0f..2d6d43d 100644
--- a/vpg-1.vapi
+++ b/vpg-1.vapi
@@ -5,8 +5,6 @@ namespace Vpg {
[CCode (cheader_filename = "vpg.h")]
public class Connection : GLib.Object, Vda.Connection {
public Connection ();
- public Vda.SqlValue create_value_from_oid (uint oid);
- public GLib.Type for_data_type_oid (uint oid);
}
[CCode (cheader_filename = "vpg.h")]
public class ParsedQuery : Vpg.Query, Vda.PreparedQuery, Vda.ParsedQuery {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]