7393726d1a098247e58562788b87f83257b0200f
[maevies] / src / maevies_movie.c
1 /*
2  * movie.c
3  *
4  * This file is part of maevies
5  * Copyright (C) 2009 spenap <spenap@gmail.com>
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 3 of the
10  * License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * General Public License for more details.
16  *
17  */
18
19 #include "maevies_movie.h"
20 #include "extra_scenes_provider.h"
21
22 MaeviesMovie *maevies_movie_new(const gchar *name) {
23
24         MaeviesMovie *movie = g_new0(MaeviesMovie,1);
25
26         movie->title = name;
27
28         return movie;
29 }
30
31 void movie_get_info(MaeviesMovie *movie, GCallback callback) {
32
33         /* Get movie info */
34
35
36         /* Get movie stingers */
37         movie->has_stingers = has_stingers(movie->title);
38 }
39