This hides many classes from plugins that were previously exposed to them.
Most of these are service/device implementations which the plugins do not
need to access to anymore because of recent changes.
using GUPnP;
-public class Rygel.AVTransport : Service {
+internal class Rygel.AVTransport : Service {
public const string UPNP_ID = "urn:upnp-org:serviceId:AVTransport";
public const string UPNP_TYPE =
"urn:schemas-upnp-org:service:AVTransport:2";
using Gee;
// Helper class for building LastChange messages
-public class Rygel.ChangeLog : Object {
+internal class Rygel.ChangeLog : Object {
public unowned Service service { get; set; }
private string service_ns;
using Gee;
-public errordomain Rygel.CmdlineConfigError {
+internal errordomain Rygel.CmdlineConfigError {
VERSION_ONLY
}
/**
* Manages configuration from Commandline arguments.
*/
-public class Rygel.CmdlineConfig : GLib.Object, Configuration {
+internal class Rygel.CmdlineConfig : GLib.Object, Configuration {
private static string iface;
private static int port;
/**
* Basic implementation of UPnP ConnectionManager service version 2.
*/
-public class Rygel.ConnectionManager : Service {
+internal class Rygel.ConnectionManager : Service {
public const string UPNP_ID = "urn:upnp-org:serviceId:ConnectionManager";
public const string UPNP_TYPE =
"urn:schemas-upnp-org:service:ConnectionManager:2";
* plugins will provide a child of this class. The inheriting classes should
* override create_root_container method.
*/
-public class Rygel.ContentDirectory: Service {
+internal 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:2";
/**
* Manages configuration from Environment.
*/
-public class Rygel.EnvironmentConfig : GLib.Object, Configuration {
+internal class Rygel.EnvironmentConfig : GLib.Object, Configuration {
private static string RYGEL_PREFIX = "RYGEL";
private static string TITLE_KEY = RYGEL_PREFIX + "_TITLE";
private static string ENABLED_KEY = "ENABLED";
/**
* Basic implementation of MS MediaReceiverRegistrar service version 1.
*/
-public class Rygel.MediaReceiverRegistrar: Service {
+internal class Rygel.MediaReceiverRegistrar: Service {
public const string UPNP_ID =
"urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar";
public const string UPNP_TYPE =
using GUPnP;
using Rygel;
-public class Rygel.RenderingControl : Service {
+internal class Rygel.RenderingControl : Service {
public const string UPNP_ID = "urn:upnp-org:serviceId:RenderingControl";
public const string UPNP_TYPE =
"urn:schemas-upnp-org:service:RenderingControl:2";
using GUPnP;
[CCode (cname = "uuid_generate", cheader_filename = "uuid/uuid.h")]
-public extern static void uuid_generate ([CCode (array_length = false)]
- uchar[] uuid);
+internal extern static void uuid_generate ([CCode (array_length = false)]
+ uchar[] uuid);
[CCode (cname = "uuid_unparse", cheader_filename = "uuid/uuid.h")]
-public extern static void uuid_unparse ([CCode (array_length = false)]
- uchar[] uuid,
- [CCode (array_length = false)]
- uchar[] output);
+internal extern static void uuid_unparse ([CCode (array_length = false)]
+ uchar[] uuid,
+ [CCode (array_length = false)]
+ uchar[] output);
public errordomain RootDeviceFactoryError {
XML_PARSE,
/**
* Represents a Root device.
*/
-public class Rygel.RootDevice: GUPnP.RootDevice {
+internal class Rygel.RootDevice: GUPnP.RootDevice {
internal ArrayList<ServiceInfo> services; /* Services we implement */
public RootDevice (GUPnP.Context context,
using GUPnP;
-public class Rygel.SinkConnectionManager : Rygel.ConnectionManager {
+internal class Rygel.SinkConnectionManager : Rygel.ConnectionManager {
private MediaPlayer player;
public override void constructed () {
/**
* UPnP ConnectionManager service for serving end-points (MediaServer).
*/
-public class Rygel.SourceConnectionManager : Rygel.ConnectionManager {
+internal class Rygel.SourceConnectionManager : Rygel.ConnectionManager {
public override void constructed () {
base.constructed ();