[tracker] sparql: Move TRACKER_ const in Tracker namespace



commit e8eda5803c4d403283bd09cefe8122fecc0753ef
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Aug 23 08:15:20 2014 +0200

    sparql: Move TRACKER_ const in Tracker namespace
    
    This is a *vala-only* API break.

 src/libtracker-sparql/tracker-connection.vala |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-connection.vala b/src/libtracker-sparql/tracker-connection.vala
index 6bc01dc..eb869f2 100644
--- a/src/libtracker-sparql/tracker-connection.vala
+++ b/src/libtracker-sparql/tracker-connection.vala
@@ -31,15 +31,17 @@
  */
 
 // Convenience, hidden in the documentation
-public const string TRACKER_DBUS_SERVICE = "org.freedesktop.Tracker1";
-public const string TRACKER_DBUS_INTERFACE_RESOURCES = TRACKER_DBUS_SERVICE + ".Resources";
-public const string TRACKER_DBUS_OBJECT_RESOURCES = "/org/freedesktop/Tracker1/Resources";
-public const string TRACKER_DBUS_INTERFACE_STATISTICS = TRACKER_DBUS_SERVICE + ".Statistics";
-public const string TRACKER_DBUS_OBJECT_STATISTICS = "/org/freedesktop/Tracker1/Statistics";
-public const string TRACKER_DBUS_INTERFACE_STATUS = TRACKER_DBUS_SERVICE + ".Status";
-public const string TRACKER_DBUS_OBJECT_STATUS = "/org/freedesktop/Tracker1/Status";
-public const string TRACKER_DBUS_INTERFACE_STEROIDS = TRACKER_DBUS_SERVICE + ".Steroids";
-public const string TRACKER_DBUS_OBJECT_STEROIDS = "/org/freedesktop/Tracker1/Steroids";
+namespace Tracker {
+       public const string DBUS_SERVICE = "org.freedesktop.Tracker1";
+       public const string DBUS_INTERFACE_RESOURCES = DBUS_SERVICE + ".Resources";
+       public const string DBUS_OBJECT_RESOURCES = "/org/freedesktop/Tracker1/Resources";
+       public const string DBUS_INTERFACE_STATISTICS = DBUS_SERVICE + ".Statistics";
+       public const string DBUS_OBJECT_STATISTICS = "/org/freedesktop/Tracker1/Statistics";
+       public const string DBUS_INTERFACE_STATUS = DBUS_SERVICE + ".Status";
+       public const string DBUS_OBJECT_STATUS = "/org/freedesktop/Tracker1/Status";
+       public const string DBUS_INTERFACE_STEROIDS = DBUS_SERVICE + ".Steroids";
+       public const string DBUS_OBJECT_STEROIDS = "/org/freedesktop/Tracker1/Steroids";
+}
 
 /**
  * TrackerSparqlError:


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