[rygel] core,external: Move f.d.o D-Bus interfaces to core



commit d27e1ba5c317ee4200ec880f21067abaabcd46fd
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Aug 27 02:13:16 2010 +0300

    core,external: Move f.d.o D-Bus interfaces to core
    
    Move FreeDesktop D-Bus interfaces to core.

 .../external/rygel-external-interfaces.vala        |   15 -------
 src/rygel/Makefile.am                              |    3 +-
 src/rygel/rygel-free-desktop-interfaces.vala       |   45 ++++++++++++++++++++
 3 files changed, 47 insertions(+), 16 deletions(-)
---
diff --git a/src/plugins/external/rygel-external-interfaces.vala b/src/plugins/external/rygel-external-interfaces.vala
index d5fdbc6..f8407b9 100644
--- a/src/plugins/external/rygel-external-interfaces.vala
+++ b/src/plugins/external/rygel-external-interfaces.vala
@@ -125,18 +125,3 @@ public interface Rygel.External.MediaItemProxy : DBus.Object, MediaObjectProxy {
     public abstract ObjectPath album_art { owned get; set; }
 }
 
-[DBus (name = "org.freedesktop.DBus")]
-public interface FreeDesktop.DBusObject: DBus.Object {
-    public abstract signal void name_owner_changed (string name,
-                                                    string old_owner,
-                                                    string new_owner);
-
-    public abstract async string[] list_names () throws DBus.Error;
-    public abstract async string[] list_activatable_names () throws DBus.Error;
-}
-
-[DBus (name = "org.freedesktop.DBus.Properties")]
-public interface FreeDesktop.Properties: DBus.Object {
-    public abstract async HashTable<string,Value?> get_all (string iface)
-                                                            throws DBus.Error;
-}
diff --git a/src/rygel/Makefile.am b/src/rygel/Makefile.am
index fa89687..a6f6321 100644
--- a/src/rygel/Makefile.am
+++ b/src/rygel/Makefile.am
@@ -120,7 +120,8 @@ VAPI_SOURCE_FILES = rygel-configuration.vala \
 		    rygel-log-handler.vala \
 		    rygel-media-player.vala \
 		    rygel-changelog.vala \
-		    rygel-volume.vala
+		    rygel-volume.vala \
+		    rygel-free-desktop-interfaces.vala
 
 rygel_VALAFLAGS = \
 	-H rygel.h -C --library=rygel-1.0 --vapidir=$(srcdir) --thread \
diff --git a/src/rygel/rygel-free-desktop-interfaces.vala b/src/rygel/rygel-free-desktop-interfaces.vala
new file mode 100644
index 0000000..cf56590
--- /dev/null
+++ b/src/rygel/rygel-free-desktop-interfaces.vala
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2009,2010 Nokia Corporation.
+ *
+ * Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
+ *                               <zeeshan ali nokia com>
+ *
+ * This file is part of Rygel.
+ *
+ * Rygel is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Rygel is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+using DBus;
+
+[DBus (name = "org.freedesktop.DBus")]
+public interface FreeDesktop.DBusObject: DBus.Object {
+    public abstract signal void name_owner_changed (string name,
+                                                    string old_owner,
+                                                    string new_owner);
+
+    public abstract async string[] list_names () throws DBus.Error;
+    public abstract async string[] list_activatable_names () throws DBus.Error;
+}
+
+[DBus (name = "org.freedesktop.DBus.Properties")]
+public interface FreeDesktop.Properties: DBus.Object {
+    public abstract async HashTable<string,Value?> get_all (string iface)
+                                                            throws DBus.Error;
+    public abstract signal void properties_changed
+                                        (string                   iface,
+                                         HashTable<string,Value?> changed,
+                                         string[]                 invalidated);
+}
+



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