[rygel] server: Make MediaObject.serialize public



commit 6cccd5a767ec6f871a3c25ef855cfe987fed10f5
Author: Jens Georg <jensg openismus com>
Date:   Tue Oct 29 14:23:25 2013 +0100

    server: Make MediaObject.serialize public
    
    https://bugzilla.gnome.org/show_bug.cgi?id=709723

 src/librygel-server/rygel-content-directory.vala |    2 +-
 src/librygel-server/rygel-http-server.vala       |    2 +-
 src/librygel-server/rygel-media-object.vala      |    6 +++---
 src/librygel-server/rygel-serializer.vala        |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/librygel-server/rygel-content-directory.vala 
b/src/librygel-server/rygel-content-directory.vala
index 1812a96..cdc115a 100644
--- a/src/librygel-server/rygel-content-directory.vala
+++ b/src/librygel-server/rygel-content-directory.vala
@@ -54,7 +54,7 @@ internal errordomain Rygel.ContentDirectoryError {
  * plugins will provide a child of this class. The inheriting classes should
  * override create_root_container method.
  */
-internal class Rygel.ContentDirectory: Service {
+public class Rygel.ContentDirectory: Service {
     public const string UPNP_ID = "urn:upnp-org:serviceId:ContentDirectory";
     public const string UPNP_TYPE =
                     "urn:schemas-upnp-org:service:ContentDirectory:3";
diff --git a/src/librygel-server/rygel-http-server.vala b/src/librygel-server/rygel-http-server.vala
index f6aa08c..0472d2a 100644
--- a/src/librygel-server/rygel-http-server.vala
+++ b/src/librygel-server/rygel-http-server.vala
@@ -26,7 +26,7 @@
 using GUPnP;
 using Gee;
 
-internal class Rygel.HTTPServer : Rygel.TranscodeManager, Rygel.StateMachine {
+public class Rygel.HTTPServer : Rygel.TranscodeManager, Rygel.StateMachine {
     public string path_root { get; private set; }
 
     // Reference to root container of associated ContentDirectory
diff --git a/src/librygel-server/rygel-media-object.vala b/src/librygel-server/rygel-media-object.vala
index f5914c9..36b9ba0 100644
--- a/src/librygel-server/rygel-media-object.vala
+++ b/src/librygel-server/rygel-media-object.vala
@@ -186,9 +186,9 @@ public abstract class Rygel.MediaObject : GLib.Object {
         return writables;
     }
 
-    internal abstract DIDLLiteObject? serialize (Serializer serializer,
-                                                 HTTPServer http_server)
-                                                 throws Error;
+    public abstract DIDLLiteObject? serialize (Serializer serializer,
+                                               HTTPServer http_server)
+                                               throws Error;
 
     internal virtual void apply_didl_lite (DIDLLiteObject didl_object) {
         this.title = didl_object.title;
diff --git a/src/librygel-server/rygel-serializer.vala b/src/librygel-server/rygel-serializer.vala
index 0e56022..0532aca 100644
--- a/src/librygel-server/rygel-serializer.vala
+++ b/src/librygel-server/rygel-serializer.vala
@@ -22,7 +22,7 @@
 
 using GUPnP;
 
-internal enum SerializerType {
+public enum SerializerType {
     /// Normal serialization of container/item using DIDL-Lite
     GENERIC_DIDL,
 
@@ -37,7 +37,7 @@ internal enum SerializerType {
  * Proxy class hiding the different serializers (DIDL, DIDL_S, M3U) behind a
  * single implementation.
  */
-internal class Rygel.Serializer : Object {
+public class Rygel.Serializer : Object {
     private DIDLLiteWriter writer;
     private MediaCollection collection;
     private M3UPlayList playlist;


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