rygel r458 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r458 - trunk/src/rygel
- Date: Mon, 19 Jan 2009 15:56:02 +0000 (UTC)
Author: zeeshanak
Date: Mon Jan 19 15:56:02 2009
New Revision: 458
URL: http://svn.gnome.org/viewvc/rygel?rev=458&view=rev
Log:
Rename InteractiveResponse to SeekableResponse.
This is because we'll be using SeekableResponse for streaming and background
transfer as well in the very near future.
Added:
trunk/src/rygel/rygel-seekable-response.vala
- copied, changed from r457, /trunk/src/rygel/rygel-interactive-response.vala
Removed:
trunk/src/rygel/rygel-interactive-response.vala
Modified:
trunk/src/rygel/Makefile.am
trunk/src/rygel/rygel-http-server.vala
Modified: trunk/src/rygel/Makefile.am
==============================================================================
--- trunk/src/rygel/Makefile.am (original)
+++ trunk/src/rygel/Makefile.am Mon Jan 19 15:56:02 2009
@@ -41,8 +41,8 @@
rygel-http-response.h \
rygel-streaming-response.c \
rygel-streaming-response.h \
- rygel-interactive-response.c \
- rygel-interactive-response.h \
+ rygel-seekable-response.c \
+ rygel-seekable-response.h \
rygel-resource-info.h \
rygel-resource-info.c \
rygel-icon-info.h \
@@ -83,8 +83,8 @@
rygel-http-response.h \
rygel-streaming-response.c \
rygel-streaming-response.h \
- rygel-interactive-response.c \
- rygel-interactive-response.h \
+ rygel-seekable-response.c \
+ rygel-seekable-response.h \
rygel-resource-info.h \
rygel-resource-info.c \
rygel-icon-info.h \
@@ -122,7 +122,7 @@
rygel-http-server.vala \
rygel-http-response.vala \
rygel-streaming-response.vala \
- rygel-interactive-response.vala \
+ rygel-seekable-response.vala \
rygel-resource-info.vala \
rygel-icon-info.vala \
rygel-plugin.vala \
Modified: trunk/src/rygel/rygel-http-server.vala
==============================================================================
--- trunk/src/rygel/rygel-http-server.vala (original)
+++ trunk/src/rygel/rygel-http-server.vala Mon Jan 19 15:56:02 2009
@@ -90,11 +90,11 @@
Soup.Message msg,
Seek? seek,
size_t size) throws Error {
- var response = new InteractiveResponse (this.context.server,
- msg,
- uri,
- seek,
- size);
+ var response = new SeekableResponse (this.context.server,
+ msg,
+ uri,
+ seek,
+ size);
response.ended += on_response_ended;
this.responses.add (response);
Copied: trunk/src/rygel/rygel-seekable-response.vala (from r457, /trunk/src/rygel/rygel-interactive-response.vala)
==============================================================================
--- /trunk/src/rygel/rygel-interactive-response.vala (original)
+++ trunk/src/rygel/rygel-seekable-response.vala Mon Jan 19 15:56:02 2009
@@ -27,18 +27,18 @@
using Rygel;
using GUPnP;
-public class Rygel.InteractiveResponse : Rygel.HTTPResponse {
+public class Rygel.SeekableResponse : Rygel.HTTPResponse {
private Seek seek;
private File file;
private char[] buffer;
private size_t length;
- public InteractiveResponse (Soup.Server server,
- Soup.Message msg,
- string uri,
- Seek? seek,
- size_t file_length) throws Error {
+ public SeekableResponse (Soup.Server server,
+ Soup.Message msg,
+ string uri,
+ Seek? seek,
+ size_t file_length) throws Error {
base (server, msg, seek != null);
this.seek = seek;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]