[tracker/direct-access: 18/85] libtracker-sparql: Use abstract classes instead of interfaces
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/direct-access: 18/85] libtracker-sparql: Use abstract classes instead of interfaces
- Date: Tue, 20 Jul 2010 14:06:08 +0000 (UTC)
commit 848f8159ea1f42b783ff7201e8f0cb3831959384
Author: Jürg Billeter <j bitron ch>
Date: Tue Jul 6 10:42:56 2010 +0200
libtracker-sparql: Use abstract classes instead of interfaces
src/libtracker-direct/tracker-connection.vala | 2 +-
src/libtracker-sparql/tracker-connection.vala | 2 +-
src/libtracker-sparql/tracker-cursor.vala | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-direct/tracker-connection.vala b/src/libtracker-direct/tracker-connection.vala
index 74f582a..c443646 100644
--- a/src/libtracker-direct/tracker-connection.vala
+++ b/src/libtracker-direct/tracker-connection.vala
@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
-public class Tracker.Direct.Connection : GLib.Object, Tracker.Sparql.Connection {
+public class Tracker.Direct.Connection : Tracker.Sparql.Connection {
public Connection () {
}
diff --git a/src/libtracker-sparql/tracker-connection.vala b/src/libtracker-sparql/tracker-connection.vala
index 6fa8bc2..f576d5c 100644
--- a/src/libtracker-sparql/tracker-connection.vala
+++ b/src/libtracker-sparql/tracker-connection.vala
@@ -17,6 +17,6 @@
* Boston, MA 02110-1301, USA.
*/
-public interface Tracker.Sparql.Connection {
+public abstract class Tracker.Sparql.Connection : Object {
public abstract Cursor query (string sparql) throws GLib.Error;
}
diff --git a/src/libtracker-sparql/tracker-cursor.vala b/src/libtracker-sparql/tracker-cursor.vala
index 9f0d1f8..b8164a5 100644
--- a/src/libtracker-sparql/tracker-cursor.vala
+++ b/src/libtracker-sparql/tracker-cursor.vala
@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
-public interface Tracker.Sparql.Cursor {
+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);
@@ -29,4 +29,4 @@ public interface Tracker.Sparql.Cursor {
public abstract bool iter_next () throws GLib.Error;
public abstract bool rewind ();
-}
\ No newline at end of file
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]