Files
MapLibreParticleLab/include/mbgl/style/expression/collator.hpp
Bart Louwers 550f64be22 core: rename mbgl namespace to mln (#4487)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-08-14 23:25:20 +02:00

29 lines
564 B
C++

#pragma once
#include <mbgl/i18n/collator.hpp>
#include <string>
#include <optional>
namespace mln {
namespace style {
namespace expression {
class Collator {
public:
Collator(bool caseSensitive, bool diacriticSensitive, const std::optional<std::string>& locale = std::nullopt);
bool operator==(const Collator& other) const;
int compare(const std::string& lhs, const std::string& rhs) const;
std::string resolvedLocale() const;
private:
platform::Collator collator;
};
} // namespace expression
} // namespace style
} // namespace mln