summaryrefslogtreecommitdiff
path: root/libtmdb/tmdb-proxy.h
blob: 1fbe9d155df60f2c54aadf4385e3069440527c54 (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;
	};
};