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

namespace TMDb {
	class DLL_PUBLIC 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;
	};
};