Orientation update
[cinaest] / src / movie.vala
index cf970cc..f23059a 100644 (file)
@@ -23,13 +23,19 @@ public class Poster : Object {
 
 public class Movie : Object {
        public string title { get; set; }
+       public string secondary { get; set; }
        public int year { get; set; }
        public int rating { get; set; }
-       public int genres { get; set; }
+       public Genres genres;
        public Poster poster { get; set; }
 
        construct {
                rating = -1;
        }
+
+       public virtual string get_plot () {
+               print ("get_plot(%s)", title);
+               return "";
+       }
 }