Czech translation update (via transifex.net)
[cinaest] / src / movie.vala
index 5571802..e5212cb 100644 (file)
  */
 
 public class Poster : Object {
-       public Gdk.Pixbuf pixbuf;
-       public Gdk.Pixbuf thumbnail;
+       public const int SMALL_WIDTH = (800 - 2*Hildon.MARGIN_DOUBLE - 4*Hildon.MARGIN_HALF)/5;
+       public const int SMALL_HEIGHT = (420 - Hildon.MARGIN_HALF)/2;
+       public const int ICON_WIDTH = 46;
+       public const int ICON_HEIGHT = 64;
+
+       public Gdk.Pixbuf large;
+       public Gdk.Pixbuf small;
+       public Gdk.Pixbuf icon;
 }
 
 public class Movie : Object {
@@ -36,8 +42,17 @@ public class Movie : Object {
        }
 
        public virtual string get_plot () {
-               print ("get_plot(%s)", title);
+               print ("get_plot (%s)\n", title);
                return "";
        }
+
+       public virtual List<Role> get_cast () {
+               print ("get_cast (%s)\n", title);
+               return null;
+       }
 }
 
+public class Role {
+       public string actor_name;
+       public string character;
+}