server: VisualItem, ImageItem, VideoItem: Document thumbnail properties
authorMurray Cumming <murrayc@openismus.com>
Wed, 19 Sep 2012 10:01:28 +0000 (12:01 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 24 Sep 2012 10:12:28 +0000 (12:12 +0200)
src/librygel-server/rygel-image-item.vala
src/librygel-server/rygel-video-item.vala
src/librygel-server/rygel-visual-item.vala

index 23d7e18..4566164 100644 (file)
@@ -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,
index f443e7b..98ee1e6 100644 (file)
@@ -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,
index 3432ab0..b5560f6 100644 (file)
@@ -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) {