Use nicer syntax for nested namespace definitions

This commit is contained in:
Desour 2023-06-12 22:00:08 +02:00 committed by sfan5
parent e700182f44
commit 8b108ed5f2
4 changed files with 7 additions and 7 deletions

@ -59,9 +59,9 @@ struct ShaderInfo {
Setter of constants for shaders Setter of constants for shaders
*/ */
namespace irr { namespace video { namespace irr::video {
class IMaterialRendererServices; class IMaterialRendererServices;
} } }
class IShaderConstantSetter { class IShaderConstantSetter {

@ -32,7 +32,7 @@ class IGameDef;
struct TileSpec; struct TileSpec;
struct TileDef; struct TileDef;
namespace irr { namespace video { class IVideoDriver; } } namespace irr::video { class IVideoDriver; }
typedef std::vector<video::SColor> Palette; typedef std::vector<video::SColor> Palette;

@ -36,9 +36,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define PATH_DELIM ":" #define PATH_DELIM ":"
#endif #endif
namespace irr { namespace io { namespace irr::io {
class IFileSystem; class IFileSystem;
}} }
namespace fs namespace fs
{ {

@ -35,10 +35,10 @@ class ModChannel;
class ModStorage; class ModStorage;
class ModStorageDatabase; class ModStorageDatabase;
namespace irr { namespace scene { namespace irr::scene {
class IAnimatedMesh; class IAnimatedMesh;
class ISceneManager; class ISceneManager;
}} }
struct SubgameSpec; struct SubgameSpec;
struct ModSpec; struct ModSpec;