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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user