mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 04:24:29 +00:00
Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
This commit is contained in:
26
editor/yes_no_unknown.hpp
Normal file
26
editor/yes_no_unknown.hpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
/// Used to store and edit 3-state OSM information, for example,
|
||||
/// "This place has internet", "does not have", or "it's not specified yet".
|
||||
/// Explicit values are given for easier reuse in Java code.
|
||||
namespace osm
|
||||
{
|
||||
enum YesNoUnknown
|
||||
{
|
||||
Unknown = 0,
|
||||
Yes = 1,
|
||||
No = 2
|
||||
};
|
||||
|
||||
inline std::string DebugPrint(YesNoUnknown value)
|
||||
{
|
||||
switch (value)
|
||||
{
|
||||
case Unknown: return "Unknown";
|
||||
case Yes: return "Yes";
|
||||
case No: return "No";
|
||||
}
|
||||
}
|
||||
} // namespace osm
|
||||
Reference in New Issue
Block a user