/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
map/layers_statistics.hpp
37 строк
579 B
Arsentiy Milchakov
[guides on map] layer is enabled automatically on startup once.
21 окт 2020, 17:29
21 окт 2020, 17:29
716ad62
Код
Авторство
О чём код?
#pragma once #include <cstdint> #include <set> #include <string> class LayersStatistics { public: enum class Status { Success, Error, Unavailable, }; enum class LayerItemType { Point, Cluster, }; enum class InitType { User, Auto, }; explicit LayersStatistics(std::string const & layerName); void LogActivate(Status status, std::set<int64_t> const & mwmVersions = {}, InitType initType = InitType::User) const; void LogItemSelected(LayerItemType itemType) const; private: std::string m_layerName; };