summaryrefslogtreecommitdiff
path: root/libtmdb/tmdb-proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtmdb/tmdb-proxy.cpp')
-rw-r--r--libtmdb/tmdb-proxy.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libtmdb/tmdb-proxy.cpp b/libtmdb/tmdb-proxy.cpp
index 7a575e5..b20752c 100644
--- a/libtmdb/tmdb-proxy.cpp
+++ b/libtmdb/tmdb-proxy.cpp
@@ -9,37 +9,37 @@ namespace TMDb {
SearchMultiResultsPtr
Proxy::SearchMulti(const std::string & query, const IceUtil::Optional<int> & page, const Ice::Current&)
{
- return GetData<SearchMultiResults>("/search/multi", { { "query", query }, { "page", page } });
+ return GetData<SearchMultiResultsPtr>("/search/multi", { { "query", query }, { "page", page } });
}
SearchMovieResultsPtr
Proxy::SearchMovies(const std::string & query, const IceUtil::Optional<int> & year, const IceUtil::Optional<int> & page, const Ice::Current&)
{
- return GetData<SearchMovieResults>("/search/movies", { { "query", query }, { "page", page }, { "year", year } });
+ return GetData<SearchMovieResultsPtr>("/search/movies", { { "query", query }, { "page", page }, { "year", year } });
}
SearchPersonResultsPtr
Proxy::SearchPersons(const std::string & query, const IceUtil::Optional<int> & page, const Ice::Current&)
{
- return GetData<SearchPersonResults>("/search/person", { { "query", query }, { "page", page } });
+ return GetData<SearchPersonResultsPtr>("/search/person", { { "query", query }, { "page", page } });
}
SearchTvResultsPtr
Proxy::SearchTv(const std::string & query, const IceUtil::Optional<int> & page, const Ice::Current&)
{
- return GetData<SearchTvResults>("/search/tv", { { "query", query}, { "page", page } });
+ return GetData<SearchTvResultsPtr>("/search/tv", { { "query", query}, { "page", page } });
}
MoviePtr
Proxy::GetMovie(Ice::Int id, const Ice::Current&)
{
- return GetData<Movie, Ice::Int>("/movie/%d", id, { });
+ return GetData<MoviePtr, Ice::Int>("/movie/%d", id, { });
}
TvSeriesPtr
Proxy::GetTvSeries(Ice::Int id, const Ice::Current&)
{
- return GetData<TvSeries, Ice::Int>("/tv/%d", id, { });
+ return GetData<TvSeriesPtr, Ice::Int>("/tv/%d", id, { });
}
}