[rygel] core: Make transfer statistics public
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Make transfer statistics public
- Date: Fri, 19 Feb 2010 10:56:14 +0000 (UTC)
commit 7f5527effae18f7d8262e915ac8ad4ca3f5dee77
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Feb 18 19:47:03 2010 +0200
core: Make transfer statistics public
src/rygel/rygel-import-resource.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/rygel/rygel-import-resource.vala b/src/rygel/rygel-import-resource.vala
index 7e9970b..8c826db 100644
--- a/src/rygel/rygel-import-resource.vala
+++ b/src/rygel/rygel-import-resource.vala
@@ -44,6 +44,8 @@ internal class Rygel.ImportResource : GLib.Object, Rygel.StateMachine {
public uint32 transfer_id;
public TransferStatus status;
+ public int64 bytes_copied;
+ public int64 bytes_total;
public string status_as_string {
get {
@@ -66,8 +68,6 @@ internal class Rygel.ImportResource : GLib.Object, Rygel.StateMachine {
private HTTPServer http_server;
private MediaContainer root_container;
private ServiceAction action;
- private int64 bytes_copied;
- private int64 bytes_total;
public ImportResource (ContentDirectory content_dir,
owned ServiceAction action) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]