core: rename mbgl namespace to mln (#4487)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Bart Louwers
2026-08-14 23:25:20 +02:00
committed by GitHub
parent 836b862984
commit 550f64be22
1970 changed files with 8931 additions and 8967 deletions

View File

@@ -4,7 +4,7 @@
#include <mbgl/storage/offline.hpp>
#include <mbgl/util/expected.hpp>
namespace mbgl {
namespace mln {
class ClientOptions;
class ResourceOptions;
@@ -258,4 +258,4 @@ private:
const std::unique_ptr<Impl> impl;
};
} // namespace mbgl
} // namespace mln

View File

@@ -10,7 +10,7 @@
#include <functional>
#include <memory>
namespace mbgl {
namespace mln {
class AsyncRequest;
class Resource;
@@ -118,4 +118,4 @@ constexpr const char* MAX_CONCURRENT_REQUESTS_KEY = "max-concurrent-requests";
/// database opens in read-write-create mode otherwise. type: bool
constexpr const char* READ_ONLY_MODE_KEY = "read-only-mode";
} // namespace mbgl
} // namespace mln

View File

@@ -2,7 +2,7 @@
#include <mbgl/storage/file_source.hpp>
namespace mbgl {
namespace mln {
class ClientOptions;
class ResourceOptions;
@@ -50,4 +50,4 @@ protected:
virtual ~FileSourceManager();
};
} // namespace mbgl
} // namespace mln

View File

@@ -4,7 +4,7 @@
#include <mutex>
#include <unordered_set>
namespace mbgl {
namespace mln {
namespace util {
class AsyncTask;
@@ -31,4 +31,4 @@ private:
static std::unordered_set<util::AsyncTask*> observers;
};
} // namespace mbgl
} // namespace mln

View File

@@ -11,7 +11,7 @@
#include <functional>
#include <variant>
namespace mbgl {
namespace mln {
class TileID;
@@ -234,4 +234,4 @@ private:
using OfflineRegions = std::vector<OfflineRegion>;
} // namespace mbgl
} // namespace mln

View File

@@ -6,7 +6,7 @@
#include <optional>
namespace mbgl {
namespace mln {
class OnlineFileSource : public FileSource {
public:
@@ -31,4 +31,4 @@ private:
const std::unique_ptr<Impl> impl;
};
} // namespace mbgl
} // namespace mln

View File

@@ -8,7 +8,7 @@
#include <string>
#include <optional>
namespace mbgl {
namespace mln {
class Resource {
public:
@@ -109,4 +109,4 @@ inline bool Resource::hasLoadingMethod(Resource::LoadingMethod method) const {
return (loadingMethod & method);
}
} // namespace mbgl
} // namespace mln

View File

@@ -5,7 +5,7 @@
#include <string>
#include <mbgl/util/tile_server_options.hpp>
namespace mbgl {
namespace mln {
/**
* @brief Holds values for resource options.
@@ -131,4 +131,4 @@ private:
std::unique_ptr<Impl> impl_;
};
} // namespace mbgl
} // namespace mln

View File

@@ -5,7 +5,7 @@
#include <functional>
#include <string>
namespace mbgl {
namespace mln {
class ResourceTransform {
public:
@@ -20,4 +20,4 @@ private:
TransformCallback transformCallback;
};
} // namespace mbgl
} // namespace mln

View File

@@ -6,7 +6,7 @@
#include <string>
#include <memory>
namespace mbgl {
namespace mln {
class Response {
public:
@@ -65,4 +65,4 @@ public:
Error(Reason, std::string = "", std::optional<Timestamp> = std::nullopt);
};
} // namespace mbgl
} // namespace mln