2 * maevies_movieschedule.c
4 * This file is part of maevies
5 * Copyright (C) 2009 Gervasio Varela <gervarela@picandocodigo.com>
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.
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.
19 #include "maevies_movieschedule.h"
21 MaeviesMovieSchedule *maevies_movieschedule_new(MaeviesMovieSchedule* theater) {
23 MaeviesMovieSchedule *ms = g_new0(MaeviesTheater,1);
25 ms->theater = theater;
30 MaeviesMovieSchedule *maevies_movieschedule_new_with_list(
31 MaeviesMovieSchedule* theater, GSList* timeList) {
33 MaeviesMovieSchedule *ms = maevies_movieschedule_new(theater);
35 ms->timeList = timeList;