1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

Everywhere: Use nested namespace qualifiers

This commit is contained in:
Nico Weber 2023-07-11 13:49:08 -04:00 committed by Ali Mohammad Pur
parent a2f33fdcef
commit 66e210e406
27 changed files with 30 additions and 91 deletions

View file

@ -15,18 +15,14 @@
#include <LibGUI/UIDimensions.h>
#include <LibGfx/Forward.h>
namespace Core {
namespace Registration {
namespace Core::Registration {
extern Core::ObjectClassRegistration registration_Layout;
}
}
#define REGISTER_LAYOUT(namespace_, class_name) \
namespace Core { \
namespace Registration { \
namespace Core::Registration { \
Core::ObjectClassRegistration registration_##class_name( \
#namespace_ "::" #class_name##sv, []() { return static_ptr_cast<Core::Object>(namespace_::class_name::construct()); }, &registration_Layout); \
} \
}
namespace GUI {