X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmovie.vala;h=f23059a686615ab2dcaf77b756ac4db7dd1e6f9a;hb=691d0d71efa25af00773285d3eca0845b8734168;hp=cf970cc2577cb5779599c39baf0dd56a4a2b66ce;hpb=ded1a5bcb7f68a3366d0aa9ed7cee3a4560d4812;p=cinaest diff --git a/src/movie.vala b/src/movie.vala index cf970cc..f23059a 100644 --- a/src/movie.vala +++ b/src/movie.vala @@ -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 ""; + } }