forked from organicmaps/organicmaps
[ugc] place page methods renaming
This commit is contained in:
parent
009c3ec70b
commit
d643ed2e23
1 changed files with 4 additions and 6 deletions
|
@ -76,13 +76,11 @@ public:
|
|||
bool ShouldShowEditPlace() const;
|
||||
|
||||
/// UGC
|
||||
// TODO: Uncomment correct implementation.
|
||||
// TODO: UGC is disabled before UI isn't ready.
|
||||
void SetUGCApi(ugc::Api * const api) { m_ugcApi = api; }
|
||||
bool ShouldShowUGC() const { return false; } //ftraits::UGC::IsUGCAvailable(m_types); }
|
||||
bool ShouldShowUGCRating() const { return false; } //ftraits::UGC::IsRatingAvailable(m_types); }
|
||||
bool ShouldShowUGCReviews() const { return false; } //ftraits::UGC::IsReviewsAvailable(m_types); }
|
||||
bool ShouldShowUGCDetails() const { return false; } //ftraits::UGC::IsDetailsAvailable(m_types); }
|
||||
bool ShouldShowUGC() const { return ftraits::UGC::IsUGCAvailable(m_types); }
|
||||
bool CanBeRated() const { return ftraits::UGC::IsRatingAvailable(m_types); }
|
||||
bool CanBeReviewed() const { return ftraits::UGC::IsReviewsAvailable(m_types); }
|
||||
bool CanHaveExtendedReview() const { return ftraits::UGC::IsDetailsAvailable(m_types); }
|
||||
|
||||
/// @returns true if Back API button should be displayed.
|
||||
bool HasApiUrl() const { return !m_apiUrl.empty(); }
|
||||
|
|
Loading…
Add table
Reference in a new issue