rygel r628 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r628 - trunk/src/rygel
- Date: Thu, 19 Feb 2009 17:17:59 +0000 (UTC)
Author: zeeshanak
Date: Thu Feb 19 17:17:59 2009
New Revision: 628
URL: http://svn.gnome.org/viewvc/rygel?rev=628&view=rev
Log:
Mark all internal API as 'internal'.
Modified:
trunk/src/rygel/rygel-browse.vala
trunk/src/rygel/rygel-content-directory.vala
trunk/src/rygel/rygel-didl-lite-writer.vala
trunk/src/rygel/rygel-http-request.vala
trunk/src/rygel/rygel-http-response.vala
trunk/src/rygel/rygel-http-server.vala
trunk/src/rygel/rygel-live-response.vala
trunk/src/rygel/rygel-seekable-response.vala
Modified: trunk/src/rygel/rygel-browse.vala
==============================================================================
--- trunk/src/rygel/rygel-browse.vala (original)
+++ trunk/src/rygel/rygel-browse.vala Thu Feb 19 17:17:59 2009
@@ -32,7 +32,7 @@
* associated with the Browse action handling that exists to make asynchronous
* handling of Browse action possible.
*/
-public class Rygel.Browse: GLib.Object, Rygel.StateMachine {
+internal class Rygel.Browse: GLib.Object, Rygel.StateMachine {
// In arguments
public string object_id;
public string browse_flag;
Modified: trunk/src/rygel/rygel-content-directory.vala
==============================================================================
--- trunk/src/rygel/rygel-content-directory.vala (original)
+++ trunk/src/rygel/rygel-content-directory.vala Thu Feb 19 17:17:59 2009
@@ -57,7 +57,7 @@
private uint update_notify_id;
private ArrayList<Browse> browses;
- public Cancellable cancellable;
+ internal Cancellable cancellable;
public uint32 system_update_id;
Modified: trunk/src/rygel/rygel-didl-lite-writer.vala
==============================================================================
--- trunk/src/rygel/rygel-didl-lite-writer.vala (original)
+++ trunk/src/rygel/rygel-didl-lite-writer.vala Thu Feb 19 17:17:59 2009
@@ -24,7 +24,7 @@
using GUPnP;
using Gee;
-public errordomain Rygel.DIDLLiteWriterError {
+internal errordomain Rygel.DIDLLiteWriterError {
UNKNOWN_URI_TYPE,
UNSUPPORTED_OBJECT
}
@@ -32,7 +32,7 @@
/**
* Responsible for serializing media objects.
*/
-public class Rygel.DIDLLiteWriter : GUPnP.DIDLLiteWriter {
+internal class Rygel.DIDLLiteWriter : GUPnP.DIDLLiteWriter {
private Rygel.HTTPServer http_server;
public DIDLLiteWriter (HTTPServer http_server) {
Modified: trunk/src/rygel/rygel-http-request.vala
==============================================================================
--- trunk/src/rygel/rygel-http-request.vala (original)
+++ trunk/src/rygel/rygel-http-request.vala Thu Feb 19 17:17:59 2009
@@ -26,7 +26,7 @@
using Rygel;
using Gst;
-public errordomain Rygel.HTTPRequestError {
+internal errordomain Rygel.HTTPRequestError {
UNACCEPTABLE = Soup.KnownStatusCode.NOT_ACCEPTABLE,
INVALID_RANGE = Soup.KnownStatusCode.BAD_REQUEST,
OUT_OF_RANGE = Soup.KnownStatusCode.REQUESTED_RANGE_NOT_SATISFIABLE,
@@ -37,7 +37,7 @@
/**
* Responsible for handling HTTP client requests.
*/
-public class Rygel.HTTPRequest : GLib.Object, Rygel.StateMachine {
+internal class Rygel.HTTPRequest : GLib.Object, Rygel.StateMachine {
private MediaContainer root_container;
private Soup.Server server;
private Soup.Message msg;
Modified: trunk/src/rygel/rygel-http-response.vala
==============================================================================
--- trunk/src/rygel/rygel-http-response.vala (original)
+++ trunk/src/rygel/rygel-http-response.vala Thu Feb 19 17:17:59 2009
@@ -23,7 +23,7 @@
using Gst;
-public abstract class Rygel.HTTPResponse : GLib.Object, Rygel.StateMachine {
+internal abstract class Rygel.HTTPResponse : GLib.Object, Rygel.StateMachine {
public Soup.Server server { get; private set; }
protected Soup.Message msg;
@@ -84,7 +84,7 @@
}
}
-public class Rygel.Seek : GLib.Object {
+internal class Rygel.Seek : GLib.Object {
public Format format { get; private set; }
private int64 _start;
Modified: trunk/src/rygel/rygel-http-server.vala
==============================================================================
--- trunk/src/rygel/rygel-http-server.vala (original)
+++ trunk/src/rygel/rygel-http-server.vala Thu Feb 19 17:17:59 2009
@@ -63,7 +63,7 @@
path);
}
- public string create_http_uri_for_item (MediaItem item) {
+ internal string create_http_uri_for_item (MediaItem item) {
string escaped = Uri.escape_string (item.id, "", true);
string query = "?itemid=%s".printf (escaped);
Modified: trunk/src/rygel/rygel-live-response.vala
==============================================================================
--- trunk/src/rygel/rygel-live-response.vala (original)
+++ trunk/src/rygel/rygel-live-response.vala Thu Feb 19 17:17:59 2009
@@ -27,12 +27,12 @@
using Gee;
using Gst;
-public errordomain Rygel.LiveResponseError {
+internal errordomain Rygel.LiveResponseError {
MISSING_PLUGIN,
LINK
}
-public class Rygel.LiveResponse : Rygel.HTTPResponse {
+internal class Rygel.LiveResponse : Rygel.HTTPResponse {
private const string SINK_NAME = "fakesink";
private Pipeline pipeline;
Modified: trunk/src/rygel/rygel-seekable-response.vala
==============================================================================
--- trunk/src/rygel/rygel-seekable-response.vala (original)
+++ trunk/src/rygel/rygel-seekable-response.vala Thu Feb 19 17:17:59 2009
@@ -25,7 +25,7 @@
using Rygel;
using GUPnP;
-public class Rygel.SeekableResponse : Rygel.HTTPResponse {
+internal class Rygel.SeekableResponse : Rygel.HTTPResponse {
private Seek seek;
private File file;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]