Added a new provider type to support the retrieval of movie schedules
[maevies] / src / maevies_theater.c
1 /*
2  * maevies_theater.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_theater.h"
20
21 MaeviesTheater* maevies_theater_new(gchar* name, gchar* address) {
22
23         MaeviesTheater* theater = g_new0(MaeviesTheater,1);
24
25         theater->name = name;
26         theater->address = address;
27
28         return theater;
29 }
30