diff options
Diffstat (limited to 'shared/i18n.cpp')
-rw-r--r-- | shared/i18n.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/shared/i18n.cpp b/shared/i18n.cpp deleted file mode 100644 index a5fb32dd..00000000 --- a/shared/i18n.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "i18n.h" -#include <memory> - -using namespace zen; - - -namespace -{ -std::unique_ptr<TranslationHandler> globalHandler; -} - -void zen::setTranslator(TranslationHandler* newHandler) -{ - globalHandler.reset(newHandler); -} - - -TranslationHandler* zen::getTranslator() -{ - return globalHandler.get(); -} |