[gnome-dvb-daemon] Added url to ChannelInfo struct
- From: Sebastian Polsterl <sebp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dvb-daemon] Added url to ChannelInfo struct
- Date: Sun, 28 Sep 2014 18:53:17 +0000 (UTC)
commit 2435ccb584c7ed692983264768b18bfd2f6e029d
Author: Sebastian Pölsterl <sebp k-d-w org>
Date: Sun Sep 28 19:55:27 2014 +0200
Added url to ChannelInfo struct
This is used by GetChannelInfos() method
src/ChannelList.vala | 1 +
src/dbus/IDBusChannelList.vala | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ChannelList.vala b/src/ChannelList.vala
index b3d21b1..bf910dc 100644
--- a/src/ChannelList.vala
+++ b/src/ChannelList.vala
@@ -260,6 +260,7 @@ namespace DVB {
chan_info.id = id;
chan_info.name = channel.Name;
chan_info.is_radio = channel.is_radio ();
+ chan_info.url = channel.URL;
channels[i] = chan_info;
i++;
}
diff --git a/src/dbus/IDBusChannelList.vala b/src/dbus/IDBusChannelList.vala
index 8bec53a..5067fc9 100644
--- a/src/dbus/IDBusChannelList.vala
+++ b/src/dbus/IDBusChannelList.vala
@@ -23,6 +23,7 @@ namespace DVB {
public uint id;
public string name;
public bool is_radio;
+ public string url;
}
[DBus (name = "org.gnome.DVB.ChannelList")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]