diff options
author | Craig Pratt <craig@ecaspia.com> | 2014-06-21 21:49:19 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2015-02-08 13:17:58 +0100 |
commit | b889e3d2590ef92458ef4afce0a3edaaa7027668 (patch) | |
tree | 22f922a4288f7e4564f126d028f508b5611a04c7 /tests/rygel-http-item-uri-test.vala | |
parent | 4e584c97fbcff6018a8264c49171698c76278d01 (diff) | |
download | rygel-b889e3d2590ef92458ef4afce0a3edaaa7027668.tar.gz |
all: Refactoring of the MediaObject class hierarchy
Introduce a MediaFileItem class that represents a single file
Signed-off-by: Jens Georg <mail@jensge.org>
https://bugzilla.gnome.org/show_bug.cgi?id=720218
Diffstat (limited to 'tests/rygel-http-item-uri-test.vala')
-rw-r--r-- | tests/rygel-http-item-uri-test.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rygel-http-item-uri-test.vala b/tests/rygel-http-item-uri-test.vala index 1a15353b..6028325f 100644 --- a/tests/rygel-http-item-uri-test.vala +++ b/tests/rygel-http-item-uri-test.vala @@ -76,7 +76,7 @@ private class Rygel.MediaObject : GLib.Object { public string id; } -private class Rygel.MediaItem : Rygel.MediaObject { +private class Rygel.MediaFileItem : Rygel.MediaObject { public ArrayList<string> uris = new ArrayList<string> (); public string mime_type; public Gee.ArrayList<string> get_uris () { return this.uris; } @@ -86,7 +86,7 @@ private class Rygel.Thumbnail { public string file_extension; } -private class Rygel.VisualItem : MediaItem { +private class Rygel.VisualItem : MediaFileItem { public ArrayList<Thumbnail> thumbnails = new ArrayList<Thumbnail> (); } @@ -98,7 +98,7 @@ private class Rygel.VideoItem : VisualItem { public ArrayList<Subtitle> subtitles = new ArrayList<Subtitle> (); } -private class Rygel.MusicItem : MediaItem { +private class Rygel.MusicItem : MediaFileItem { public Thumbnail album_art; } |