Regarding to TheMovieDB.org, I finished the parsing of 1 result (ignoring data if...
[maevies] / src / maevies_movie.h
1 /*
2  * movie.h
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 #ifndef MOVIE_H_
20 #define MOVIE_H_
21
22 #include <hildon/hildon.h>
23 #include "maevies_movieschedule.h"
24
25 G_BEGIN_DECLS
26
27 typedef struct _MaeviesMovie MaeviesMovie;
28
29 struct _MaeviesMovie {
30
31         gboolean has_stingers;
32         const gchar *title;
33         gchar *director;
34         GSList *cast;
35         gfloat ranking;
36         GDate *released;
37         const gchar *overview;
38         const gchar *url;
39         GSList* movieScheduleList;
40
41 };
42
43 MaeviesMovie *maevies_movie_new(const char *name);
44
45 void movie_get_info(MaeviesMovie *movie, GCallback callback);
46
47 G_END_DECLS
48
49 #endif /* MOVIE_H_ */