[rygel] server: VisualItem, ImageItem, VideoItem: Document thumbnail properties



commit 6f9bc927559f8e1134ddf7fd739d5e348547a51e
Author: Murray Cumming <murrayc openismus com>
Date:   Wed Sep 19 12:01:28 2012 +0200

    server: VisualItem, ImageItem, VideoItem: Document thumbnail properties

 src/librygel-server/rygel-image-item.vala  |    3 +++
 src/librygel-server/rygel-video-item.vala  |    4 ++++
 src/librygel-server/rygel-visual-item.vala |    3 +++
 3 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-server/rygel-image-item.vala b/src/librygel-server/rygel-image-item.vala
index 23d7e18..4566164 100644
--- a/src/librygel-server/rygel-image-item.vala
+++ b/src/librygel-server/rygel-image-item.vala
@@ -53,6 +53,9 @@ public class Rygel.ImageItem : MediaItem, VisualItem {
      */
     public int color_depth { get; set; default = -1; }
 
+    /**
+     * Thumbnail pictures to represent the image.
+     */
     public ArrayList<Thumbnail> thumbnails { get; protected set; }
 
     public ImageItem (string         id,
diff --git a/src/librygel-server/rygel-video-item.vala b/src/librygel-server/rygel-video-item.vala
index f443e7b..98ee1e6 100644
--- a/src/librygel-server/rygel-video-item.vala
+++ b/src/librygel-server/rygel-video-item.vala
@@ -56,7 +56,11 @@ public class Rygel.VideoItem : AudioItem, VisualItem {
      */
     public int color_depth { get; set; default = -1; }
 
+    /**
+     * Thumbnail pictures to represent the video.
+     */
     public ArrayList<Thumbnail> thumbnails { get; protected set; }
+
     public ArrayList<Subtitle> subtitles;
 
     public VideoItem (string         id,
diff --git a/src/librygel-server/rygel-visual-item.vala b/src/librygel-server/rygel-visual-item.vala
index 3432ab0..b5560f6 100644
--- a/src/librygel-server/rygel-visual-item.vala
+++ b/src/librygel-server/rygel-visual-item.vala
@@ -50,6 +50,9 @@ public interface Rygel.VisualItem : MediaItem {
      */
     public abstract int color_depth { get; set; }
 
+    /**
+     * Thumbnail pictures to represent the video or image resource.
+     */
     public abstract ArrayList<Thumbnail> thumbnails { get; protected set; }
 
     internal void add_thumbnail_for_uri (string uri, string mime_type) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]