SDL Breakout Engine  0.1.0
An implementation of a Breakout game using sdl, implemented with efficient resource management.
Public Member Functions | Static Public Member Functions | List of all members
LocalizationManager Class Reference

#include <LocalizationManager.hpp>

Public Member Functions

 LocalizationManager () = delete
 Delete all basic constructors. More...
 
 LocalizationManager (const LocalizationManager &lm) = delete
 Delete all basic constructors. More...
 
void operator= (const LocalizationManager &lm) = delete
 Delete all basic constructors. More...
 

Static Public Member Functions

static unique_ptr< TranslatorLoad (Language l1, Language l2)
 

Detailed Description

Utility class for loading localization rules

The file grammar is the following: stringstring string2string2 ... eof

Note that x should be a literal 'x' as it represents a generic string in between/before/after punctuation

Constructor & Destructor Documentation

LocalizationManager::LocalizationManager ( )
delete

Delete all basic constructors.

LocalizationManager::LocalizationManager ( const LocalizationManager &  lm)
delete

Delete all basic constructors.

Member Function Documentation

unique_ptr< Translator > LocalizationManager::Load ( Language  l1,
Language  l2 
)
static

Load localization rules

Parameters
l1the language to translate from
l2the language to translate to
void LocalizationManager::operator= ( const LocalizationManager &  lm)
delete

Delete all basic constructors.


The documentation for this class was generated from the following files: