[rygel] core: Drop RegisterDevice action



commit 58793c49a64903eb768b26c2f1e07e3c72346c57
Author: Jens Georg <mail jensge org>
Date:   Fri Jun 10 11:01:48 2011 +0200

    core: Drop RegisterDevice action
    
    Drop RegisterDevice action of 'X_MS_MediaReceiverRegistrar1' service. This
    is not needed for XBox support but for UPnP CTT.

 data/xml/X_MS_MediaReceiverRegistrar1.xml.in  |   15 ---------------
 src/rygel/rygel-media-receiver-registrar.vala |   10 ----------
 2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/data/xml/X_MS_MediaReceiverRegistrar1.xml.in b/data/xml/X_MS_MediaReceiverRegistrar1.xml.in
index a1cc979..061f664 100644
--- a/data/xml/X_MS_MediaReceiverRegistrar1.xml.in
+++ b/data/xml/X_MS_MediaReceiverRegistrar1.xml.in
@@ -21,21 +21,6 @@
             </argumentList>
         </action>
         <action>
-            <name>RegisterDevice</name>
-            <argumentList>
-                <argument>
-                    <name>RegistrationReqMsg</name>
-                    <direction>in</direction>
-                    <relatedStateVariable>A_ARG_TYPE_RegistrationReqMsg</relatedStateVariable>
-                </argument>
-                <argument>
-                    <name>RegistrationRespMsg</name>
-                    <direction>out</direction>
-                    <relatedStateVariable>A_ARG_TYPE_RegistrationRespMsg</relatedStateVariable>
-                </argument>
-            </argumentList>
-        </action>
-        <action>
             <name>IsValidated</name>
             <argumentList>
                 <argument>
diff --git a/src/rygel/rygel-media-receiver-registrar.vala b/src/rygel/rygel-media-receiver-registrar.vala
index f1bc226..d441725 100644
--- a/src/rygel/rygel-media-receiver-registrar.vala
+++ b/src/rygel/rygel-media-receiver-registrar.vala
@@ -41,7 +41,6 @@ internal class Rygel.MediaReceiverRegistrar: Service {
     public override void constructed () {
         this.action_invoked["IsAuthorized"].connect (this.is_authorized_cb);
         this.action_invoked["IsValidated"].connect (this.is_authorized_cb);
-        this.action_invoked["RegisterDevice"].connect (this.register_device_cb);
 
         this.query_variable["AuthorizationGrantedUpdateID"].connect
                                         (this.query_state);
@@ -61,15 +60,6 @@ internal class Rygel.MediaReceiverRegistrar: Service {
         action.return ();
     }
 
-    private void register_device_cb (Service             registrar,
-                                     owned ServiceAction action) {
-        action.set ("RegistrationRespMsg",
-                    typeof (string),
-                    "WhatisSupposedToBeHere");
-
-        action.return ();
-    }
-
     private void query_state (Service        registrar,
                               string         variable,
                               ref GLib.Value value) {



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