[rygel/rygel-0-16] renderer: Simple documentation
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-16] renderer: Simple documentation
- Date: Tue, 25 Sep 2012 12:53:03 +0000 (UTC)
commit b31a237588a0559ce39c7deb7d1fd4fead37f904
Author: Murray Cumming <murrayc openismus com>
Date: Mon Sep 10 13:53:12 2012 +0200
renderer: Simple documentation
src/librygel-renderer/rygel-media-player.vala | 4 ++++
.../rygel-media-renderer-plugin.vala | 4 ++++
src/librygel-renderer/rygel-playbin-player.vala | 4 ++++
src/librygel-renderer/rygel-playbin-plugin.vala | 4 ++++
4 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-media-player.vala b/src/librygel-renderer/rygel-media-player.vala
index c139cfb..b50e03d 100644
--- a/src/librygel-renderer/rygel-media-player.vala
+++ b/src/librygel-renderer/rygel-media-player.vala
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2008 OpenedHand Ltd.
* Copyright (C) 2009,2010 Nokia Corporation.
+ * Copyright (C) 2012 Intel Corporation.
*
* Author: Jorn Baayen <jorn openedhand com>
* Zeeshan Ali (Khattak) <zeeshanak gnome org>
@@ -23,6 +24,9 @@
using Gst;
+/**
+ * Interface for mapping AVTransport:2 methods to the specific implementation.
+ */
public interface Rygel.MediaPlayer : GLib.Object {
public abstract string playback_state { owned get; set; }
public abstract string? uri { owned get; set; }
diff --git a/src/librygel-renderer/rygel-media-renderer-plugin.vala b/src/librygel-renderer/rygel-media-renderer-plugin.vala
index 549d95b..d9cc8b6 100644
--- a/src/librygel-renderer/rygel-media-renderer-plugin.vala
+++ b/src/librygel-renderer/rygel-media-renderer-plugin.vala
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2008,2010 Nokia Corporation.
+ * Copyright (C) 2012 Intel Corporation.
*
* Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
* <zeeshan ali nokia com>
@@ -21,6 +22,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+/**
+ * Base class for every Rygel UPnP renderer plugin.
+ */
public class Rygel.MediaRendererPlugin : Rygel.Plugin {
private static const string MEDIA_RENDERER_DESC_PATH =
BuildConfig.DATA_DIR +
diff --git a/src/librygel-renderer/rygel-playbin-player.vala b/src/librygel-renderer/rygel-playbin-player.vala
index 392f21e..fb73c58 100644
--- a/src/librygel-renderer/rygel-playbin-player.vala
+++ b/src/librygel-renderer/rygel-playbin-player.vala
@@ -2,6 +2,7 @@
* Copyright (C) 2008 OpenedHand Ltd.
* Copyright (C) 2009,2010,2011,2012 Nokia Corporation.
* Copyright (C) 2012 Openismus GmbH
+ * Copyright (C) 2012 Intel Corporation.
*
* Author: Jorn Baayen <jorn openedhand com>
* Zeeshan Ali (Khattak) <zeeshanak gnome org>
@@ -26,6 +27,9 @@
using Gst;
using GUPnP;
+/**
+ * Implementation of RygelMediaPlayer for GStreamer.
+ */
public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
private const string TRANSFER_MODE_STREAMING = "Streaming";
private const string TRANSFER_MODE_INTERACTIVE = "Interactive";
diff --git a/src/librygel-renderer/rygel-playbin-plugin.vala b/src/librygel-renderer/rygel-playbin-plugin.vala
index caac9ce..8950157 100644
--- a/src/librygel-renderer/rygel-playbin-plugin.vala
+++ b/src/librygel-renderer/rygel-playbin-plugin.vala
@@ -2,6 +2,7 @@
* Copyright (C) 2008 Zeeshan Ali (Khattak) <zeeshanak gnome org>.
* Copyright (C) 2008 Nokia Corporation.
* Copyright (C) 2012 Openismus GmbH.
+ * Copyright (C) 2012 Intel Corporation.
*
* Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
* <zeeshan ali nokia com>
@@ -27,6 +28,9 @@
using Rygel;
using Gee;
+/**
+ * Implementation of RygelMediaRendererPlugin for GStreamer.
+ */
public class Rygel.Playbin.Plugin : Rygel.MediaRendererPlugin {
public const string NAME = "Playbin";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]