rygel r298 - in trunk/src: media-providers/tracker media-server



Author: zeeshanak
Date: Tue Nov 25 14:43:38 2008
New Revision: 298
URL: http://svn.gnome.org/viewvc/rygel?rev=298&view=rev

Log:
Rename 'UPNP_CLASS' in Service classes to 'UPNP_TYPE'.

Modified:
   trunk/src/media-providers/tracker/rygel-tracker-plugin.vala
   trunk/src/media-server/rygel-connection-manager.vala
   trunk/src/media-server/rygel-content-directory.vala
   trunk/src/media-server/rygel-media-receiver-registrar.vala
   trunk/src/media-server/rygel-plugin.vala

Modified: trunk/src/media-providers/tracker/rygel-tracker-plugin.vala
==============================================================================
--- trunk/src/media-providers/tracker/rygel-tracker-plugin.vala	(original)
+++ trunk/src/media-providers/tracker/rygel-tracker-plugin.vala	Tue Nov 25 14:43:38 2008
@@ -31,7 +31,7 @@
 
     // We only implement a ContentDirectory service
     var resource_info = new ResourceInfo (ContentDirectory.UPNP_ID,
-                                          ContentDirectory.UPNP_CLASS,
+                                          ContentDirectory.UPNP_TYPE,
                                           ContentDirectory.DESCRIPTION_PATH,
                                           typeof (MediaTracker));
     plugin.add_resource (resource_info);

Modified: trunk/src/media-server/rygel-connection-manager.vala
==============================================================================
--- trunk/src/media-server/rygel-connection-manager.vala	(original)
+++ trunk/src/media-server/rygel-connection-manager.vala	Tue Nov 25 14:43:38 2008
@@ -29,7 +29,7 @@
 
 public class Rygel.ConnectionManager : Service {
     public const string UPNP_ID = "urn:upnp-org:serviceId:ConnectionManager";
-    public const string UPNP_CLASS =
+    public const string UPNP_TYPE =
                     "urn:schemas-upnp-org:service:ConnectionManager:2";
     public const string DESCRIPTION_PATH = "xml/ConnectionManager.xml";
 

Modified: trunk/src/media-server/rygel-content-directory.vala
==============================================================================
--- trunk/src/media-server/rygel-content-directory.vala	(original)
+++ trunk/src/media-server/rygel-content-directory.vala	Tue Nov 25 14:43:38 2008
@@ -32,7 +32,7 @@
 
 public class Rygel.ContentDirectory: Service {
     public const string UPNP_ID = "urn:upnp-org:serviceId:ContentDirectory";
-    public const string UPNP_CLASS =
+    public const string UPNP_TYPE =
                     "urn:schemas-upnp-org:service:ContentDirectory:2";
     public const string DESCRIPTION_PATH = "xml/ContentDirectory.xml";
 

Modified: trunk/src/media-server/rygel-media-receiver-registrar.vala
==============================================================================
--- trunk/src/media-server/rygel-media-receiver-registrar.vala	(original)
+++ trunk/src/media-server/rygel-media-receiver-registrar.vala	Tue Nov 25 14:43:38 2008
@@ -27,7 +27,7 @@
 public class Rygel.MediaReceiverRegistrar: Service {
     public const string UPNP_ID =
                     "urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar";
-    public const string UPNP_CLASS =
+    public const string UPNP_TYPE =
                     "urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1";
     public const string DESCRIPTION_PATH =
                     "xml/X_MS_MediaReceiverRegistrar1.xml";

Modified: trunk/src/media-server/rygel-plugin.vala
==============================================================================
--- trunk/src/media-server/rygel-plugin.vala	(original)
+++ trunk/src/media-server/rygel-plugin.vala	Tue Nov 25 14:43:38 2008
@@ -39,7 +39,7 @@
         /* Register Rygel.ConnectionManager */
         var resource_info = new ResourceInfo
                                 (ConnectionManager.UPNP_ID,
-                                 ConnectionManager.UPNP_CLASS,
+                                 ConnectionManager.UPNP_TYPE,
                                  ConnectionManager.DESCRIPTION_PATH,
                                  typeof (ConnectionManager));
         this.add_resource (resource_info);
@@ -47,7 +47,7 @@
         /* Register Rygel.MediaReceiverRegistrar */
         resource_info = new ResourceInfo
                                 (MediaReceiverRegistrar.UPNP_ID,
-                                 MediaReceiverRegistrar.UPNP_CLASS,
+                                 MediaReceiverRegistrar.UPNP_TYPE,
                                  MediaReceiverRegistrar.DESCRIPTION_PATH,
                                  typeof (MediaReceiverRegistrar));
         this.add_resource (resource_info);



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