Fixed test to support signals carrying service
[maevies] / src / maevies_movieschedule.c
1 /*
2  * maevies_movieschedule.c
3  *
4  * This file is part of maevies
5  * Copyright (C) 2009 Gervasio Varela <gervarela@picandocodigo.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_movieschedule.h"
20
21 MaeviesMovieSchedule *maevies_movieschedule_new(MaeviesMovieSchedule* theater) {
22
23         MaeviesMovieSchedule *ms = g_new0(MaeviesTheater,1);
24
25         ms->theater = theater;
26
27         return ms;
28 }
29
30 MaeviesMovieSchedule *maevies_movieschedule_new_with_list(
31                 MaeviesMovieSchedule* theater, GSList* timeList) {
32
33         MaeviesMovieSchedule *ms = maevies_movieschedule_new(theater);
34
35         ms->timeList = timeList;
36
37         return ms;
38 }
39