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 #ifndef SCHEDULE_PROVIDER_H_
20 #define SCHEDULE_PROVIDER_H_
23 #include "maevies_theater.h"
24 #include "maevies_movieschedule.h"
27 /** Retrieves the schedule of a given movie near a given geographical
28 * area (city, state, GPS coordiantes, etc.).
29 * @param movie The movie whose schedule is required
30 * @param where A string reprensenting a city, a state, GPS coordiantes
31 * to search for theaters near it
32 * @return A list of MaeviesMovieSchedule objects
34 GSList* get_movie_schedule_near_city(MaeviesMovie* movie, gchar* where);
37 /** Retrieves the movies available to watch near a given a geographical
38 * area (city, state, GPS coordinates, etc.).
39 * @param where A string reprensenting a city, a state, GPS coordiantes
40 * to search for theaters near it
41 * @return A list of MaeviesMovie objects
43 GSList* get_shedule_near_city(gchar* where);
47 #endif /* SCHEDULE_PROVIDER_H_ */