summaryrefslogtreecommitdiff
path: root/libtmdb/tmdb-proxy.h
blob: 6ff8b38dd0f9fdbeab37a8db0fb563dca3834d4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
	};
};