X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmvs-watc-movie.h;h=7bf7e3b0b0e7c9189c3330e92d27a16cd03ace22;hb=1c83a99b3a182130c5f831367980bcbd649243b3;hp=a05f783d0936169a81deeb5fce1637f725db24dc;hpb=f1729cac275aff1207de0867b498193ccdfc7b37;p=maevies diff --git a/src/mvs-watc-movie.h b/src/mvs-watc-movie.h index a05f783..7bf7e3b 100644 --- a/src/mvs-watc-movie.h +++ b/src/mvs-watc-movie.h @@ -23,6 +23,12 @@ G_BEGIN_DECLS +typedef enum { + MVS_STINGERS_UNKNOWN, + MVS_STINGERS_YES, + MVS_STINGERS_NO +} MvsStingers; + #define MVS_TYPE_WATC_MOVIE mvs_watc_movie_get_type() #define MVS_WATC_MOVIE(obj) \ (G_TYPE_CHECK_INSTANCE_CAST ((obj), MVS_TYPE_WATC_MOVIE, MvsWatcMovie)) @@ -49,7 +55,7 @@ typedef struct { } MvsWatcMovieClass; GType mvs_watc_movie_get_type (void); -MvsWatcMovie* mvs_watc_movie_new (void); +MvsWatcMovie* mvs_watc_movie_new (const gchar *raw_name); gboolean mvs_watc_movie_set_name (MvsWatcMovie *self, const gchar *name); @@ -58,11 +64,14 @@ const gchar* mvs_watch_movie_get_name (MvsWatcMovie *self); gboolean -mvs_watc_movie_set_stingers (MvsWatcMovie *self, gboolean has_stingers); +mvs_watc_movie_set_stingers (MvsWatcMovie *self, MvsStingers stingers); -gboolean +MvsStingers mvs_watch_movie_get_stingers (MvsWatcMovie *self); +void +mvs_watch_movie_print (MvsWatcMovie *self); + G_END_DECLS #endif /* _MVS_WATC_MOVIE */