Welcome to mirror list, hosted at ThFree Co, Russian Federation.

search_product_info.hpp « map - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 77d04685ad472c87d8311c6eacb8bc576fc150b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "search/result.hpp"

namespace search
{
struct ProductInfo
{
  class Delegate
  {
  public:
    virtual ~Delegate() = default;

    virtual ProductInfo GetProductInfo(Result const & result) const = 0;
  };

  static auto constexpr kInvalidRating = kInvalidRatingValue;

  bool m_isLocalAdsCustomer = false;
  float m_ugcRating = kInvalidRating;
};
}