Project: Removed old info providers
authorSimón Pena <spenap@gmail.com>
Mon, 17 May 2010 15:39:20 +0000 (17:39 +0200)
committerSimón Pena <spenap@gmail.com>
Mon, 17 May 2010 15:44:13 +0000 (17:44 +0200)
Old info providers are removed from the project

src/movie_info_provider.c [deleted file]
src/movie_info_provider.h [deleted file]

diff --git a/src/movie_info_provider.c b/src/movie_info_provider.c
deleted file mode 100644 (file)
index 8ec8b83..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * movie_info_provider.c
- *
- * This file is part of maevies
- * Copyright (C) 2009 Simón Pena <spenap@gmail.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- */
-
-#include "movie_info_provider.h"
-#include "tmdb_movie.h"
-
-void get_info(MaeviesMovie *movie) {
-
-       TMDBMovie *tmdb_movie = tmdb_get_info(movie->title);
-
-       movie->ranking = tmdb_movie->rating;
-       movie->released = tmdb_movie->released;
-       movie->overview = tmdb_movie->overview;
-       movie->url = tmdb_movie->url;
-}
diff --git a/src/movie_info_provider.h b/src/movie_info_provider.h
deleted file mode 100644 (file)
index 4157f8d..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * movie_info_provider.h
- *
- * This file is part of maevies
- * Copyright (C) 2009 Simón Pena <spenap@gmail.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- */
-
-#ifndef MOVIE_INFO_PROVIDER_H_
-#define MOVIE_INFO_PROVIDER_H_
-
-#include "maevies_movie.h"
-
-void get_info(MaeviesMovie *movie);
-
-#endif /* MOVIE_INFO_PROVIDER_H_ */