| 145 | } |
| 146 | |
| 147 | std::string_view GetMyPoisitionText(location::EMyPositionMode mode) |
| 148 | { |
| 149 | switch (mode) |
| 150 | { |
| 151 | case location::EMyPositionMode::PendingPosition: return "Pending"; |
| 152 | case location::EMyPositionMode::NotFollowNoPosition: return "No position"; |
| 153 | case location::EMyPositionMode::NotFollow: return "Not follow"; |
| 154 | case location::EMyPositionMode::Follow: return "Follow"; |
| 155 | case location::EMyPositionMode::FollowAndRotate: return "Follow and Rotate"; |
| 156 | } |
| 157 | return ""; |
| 158 | } |
| 159 | |
| 160 | dp::ApiVersion GetApiVersion(char const * apiLabel) |
| 161 | { |