summaryrefslogtreecommitdiff
path: root/libtmdb/tmdb-proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtmdb/tmdb-proxy.h')
-rw-r--r--libtmdb/tmdb-proxy.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libtmdb/tmdb-proxy.h b/libtmdb/tmdb-proxy.h
new file mode 100644
index 0000000..6ff8b38
--- /dev/null
+++ b/libtmdb/tmdb-proxy.h
@@ -0,0 +1,17 @@
+#include <tmdb-api.h>
+#include "httpClient.h"
+
+namespace TMDb {
+ class Proxy : public API, private HttpClient {
+ public:
+ Proxy(const std::string & baseUrl, const std::string & apikey);
+
+ SearchMultiResultsPtr SearchMulti(const std::string&, const IceUtil::Optional<int>&, const Ice::Current&) override;
+ SearchMovieResultsPtr SearchMovies(const std::string&, const IceUtil::Optional<int>&, const IceUtil::Optional<int>&, const Ice::Current&) override;
+ SearchPersonResultsPtr SearchPersons(const std::string&, const IceUtil::Optional<int>&, const Ice::Current&) override;
+ SearchTvResultsPtr SearchTv(const std::string&, const IceUtil::Optional<int>&, const Ice::Current&) override;
+ MoviePtr GetMovie(Ice::Int, const Ice::Current&) override;
+ TvSeriesPtr GetTvSeries(Ice::Int, const Ice::Current&) override;
+ };
+};
+