[tracker/libtracker-sparql: 7/55] libtracker-sparql: Only expose string-based API for now



commit 998179784d318f234b9203bdd1637e31b30c52e3
Author: Jürg Billeter <j bitron ch>
Date:   Tue Jul 6 10:53:27 2010 +0200

    libtracker-sparql: Only expose string-based API for now

 src/libtracker-sparql/tracker-cursor.vala |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-cursor.vala b/src/libtracker-sparql/tracker-cursor.vala
index b8164a5..0728cfe 100644
--- a/src/libtracker-sparql/tracker-cursor.vala
+++ b/src/libtracker-sparql/tracker-cursor.vala
@@ -19,9 +19,7 @@
 
 public abstract class Tracker.Sparql.Cursor : Object {
 	public abstract int n_columns { get; }
-	public abstract bool get_value (uint column, out GLib.Value value);
-	public abstract bool get_string (uint column, out string value);
-	public abstract bool get_double (uint column, out double value);
+	public abstract unowned string get_string (int column);
 	public virtual bool interrupt () throws GLib.Error {
 		warning ("Interrupt interface called when not implemented");
 		return false;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]