be578b196dbbb27b5bf4ea58fd9f1cb57843d297
[maevies] / src / maevies_movieschedule.h
1 /*
2  * maevies_movieschedule.h
3  *
4  * This file is part of maevies
5  * Copyright (C) 2009 Gervasio Varela <gervarela@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 MOVIESCHEDULE_H_
20 #define MOVIESCHEDULE_H_
21
22 #include <hildon/hildon.h>
23 #include <glib.h>
24 #include "maevies_theater.h"
25
26 G_BEGIN_DECLS
27
28 struct _MaeviesMovieSchedule {
29         MaeviesTheater* theater;
30         GSList* timeList;
31 };
32 typedef struct _MaeviesMovieSchedule MaeviesMovieSchedule;
33
34 MaeviesMovieSchedule* maevies_movieschedule_new(MaeviesTheater* theater);
35
36 MaeviesMovieSchedule* maevies_movieschedule_new_with_list(
37                 MaeviesTheater* theater, GSList* itemList);
38
39 G_END_DECLS
40
41 #endif /* MOVIESCHEDULE_H_ */