[rygel] tracker: Bind Resources.Class D-Bus interface
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] tracker: Bind Resources.Class D-Bus interface
- Date: Wed, 23 Dec 2009 15:42:11 +0000 (UTC)
commit c9b919ebab31b0568f6835e32beb143873b8b1f3
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Dec 23 15:51:38 2009 +0200
tracker: Bind Resources.Class D-Bus interface
src/plugins/tracker/rygel-tracker-interfaces.vala | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-interfaces.vala b/src/plugins/tracker/rygel-tracker-interfaces.vala
index 7b9bb3c..dda79e3 100644
--- a/src/plugins/tracker/rygel-tracker-interfaces.vala
+++ b/src/plugins/tracker/rygel-tracker-interfaces.vala
@@ -33,3 +33,22 @@ public interface Rygel.TrackerResourcesIface: DBus.Object {
public abstract async string[,] sparql_query (string query)
throws DBus.Error;
}
+
+[DBus (name = "org.freedesktop.Tracker1.Resources.Class")]
+public interface Rygel.TrackerResourcesClassIface: DBus.Object {
+ public abstract signal void subjects_added (string[] subjects);
+ public abstract signal void subjects_removed (string[] subjects);
+ public abstract signal void subjects_changed (string[] before,
+ string[] after);
+}
+
+namespace Rygel {
+ public const string RESOURCES_CLASS_PATH = "/org/freedesktop/Tracker1/" +
+ "Resources/Classes/";
+ public const string MUSIC_RESOURCES_CLASS_PATH = RESOURCES_CLASS_PATH +
+ "nmm/MusicPiece";
+ public const string VIDEO_RESOURCES_CLASS_PATH = RESOURCES_CLASS_PATH +
+ "nmm/Video";
+ public const string PHOTO_RESOURCES_CLASS_PATH = RESOURCES_CLASS_PATH +
+ "nfo/Image";
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]