From f030154fe727e25a2afe1f78b3998c2d2dba95e4 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 18 Aug 2009 09:24:15 +0000 Subject: astyle cleanup, corrects not loading of material textures --- src/core/loader.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/core/loader.h') diff --git a/src/core/loader.h b/src/core/loader.h index 1fde764..e9f7e0b 100644 --- a/src/core/loader.h +++ b/src/core/loader.h @@ -11,7 +11,8 @@ #include "core/module.h" -namespace core { +namespace core +{ /// module factory registry /** The Loader contains a list of module factories and can load @@ -21,11 +22,11 @@ class Loader { public: /// function pointer type for a module factory - typedef Module * (* FactoryFuncPtr)(); + typedef Module *(* FactoryFuncPtr)(); /// find a registered mmodule factory static FactoryFuncPtr find(const char *label); - + /// find a registered module factory static FactoryFuncPtr find(const std::string &label); @@ -38,7 +39,9 @@ public: /// assign the next module to init static bool load(const std::string &label); - static inline const std::string &label() { return loader_label; } + static inline const std::string &label() { + return loader_label; + } /// initialize a game module static Module *init(); @@ -52,7 +55,7 @@ public: private: typedef std::map Registry; - static Registry loader_registry; + static Registry loader_registry; static std::string loader_label; }; -- cgit v1.2.3