summaryrefslogtreecommitdiff
path: root/libtmdb/tmdb-proxy.h
blob: c5490a389c9bc7ff1573f7923d7ab7c247efc7a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <tmdb-api.h>
#include "httpClient.h"

#pragma GCC visibility push(default)
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;
	};
};
#pragma GCC visibility pop