[tracker/harmattan-pre-signal-updates: 1256/1380] libtracker-sparql: Renamed tracker-plugin-loader to tracker-backend
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/harmattan-pre-signal-updates: 1256/1380] libtracker-sparql: Renamed tracker-plugin-loader to tracker-backend
- Date: Wed, 22 Sep 2010 15:39:52 +0000 (UTC)
commit f3194c61dc2d487f23553f4c9fa8d74206f91033
Author: Martyn Russell <martyn lanedo com>
Date: Tue Sep 7 15:38:41 2010 +0100
libtracker-sparql: Renamed tracker-plugin-loader to tracker-backend
src/libtracker-sparql/Makefile.am | 2 +-
...ker-plugin-loader.vala => tracker-backend.vala} | 4 ++--
src/libtracker-sparql/tracker-connection.vala | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-sparql/Makefile.am b/src/libtracker-sparql/Makefile.am
index f615653..7a3b6f0 100644
--- a/src/libtracker-sparql/Makefile.am
+++ b/src/libtracker-sparql/Makefile.am
@@ -20,7 +20,7 @@ libtracker_sparql_la_VALASOURCES = \
tracker-builder.vala \
tracker-connection.vala \
tracker-cursor.vala \
- tracker-plugin-loader.vala \
+ tracker-backend.vala \
tracker-utils.vala
libtracker_sparql_ TRACKER_API_VERSION@_la_SOURCES = \
diff --git a/src/libtracker-sparql/tracker-plugin-loader.vala b/src/libtracker-sparql/tracker-backend.vala
similarity index 98%
rename from src/libtracker-sparql/tracker-plugin-loader.vala
rename to src/libtracker-sparql/tracker-backend.vala
index 7a707db..8c8e19e 100644
--- a/src/libtracker-sparql/tracker-plugin-loader.vala
+++ b/src/libtracker-sparql/tracker-backend.vala
@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
-class Tracker.Sparql.PluginLoader : Connection {
+class Tracker.Sparql.Backend : Connection {
static bool initialized = false;
static Tracker.Sparql.Connection direct = null;
static Tracker.Sparql.Connection bus = null;
@@ -29,7 +29,7 @@ class Tracker.Sparql.PluginLoader : Connection {
private delegate Tracker.Sparql.Connection ModuleInitFunc ();
- public PluginLoader (bool direct_only = false) throws Sparql.Error
+ public Backend (bool direct_only = false) throws Sparql.Error
requires (!initialized) {
if (!Module.supported ()) {
return;
diff --git a/src/libtracker-sparql/tracker-connection.vala b/src/libtracker-sparql/tracker-connection.vala
index 4679eda..2ed3fb0 100644
--- a/src/libtracker-sparql/tracker-connection.vala
+++ b/src/libtracker-sparql/tracker-connection.vala
@@ -116,7 +116,7 @@ public abstract class Tracker.Sparql.Connection : Object {
} else {
log_init ();
- var result = new PluginLoader ();
+ var result = new Backend ();
singleton = result;
result.add_weak_pointer ((void**) (&singleton));
return result;
@@ -145,7 +145,7 @@ public abstract class Tracker.Sparql.Connection : Object {
} else {
log_init ();
- var result = new PluginLoader (true /* direct_only */);
+ var result = new Backend (true /* direct_only */);
direct_only = true;
singleton = result;
result.add_weak_pointer ((void**) (&singleton));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]