16class LocalLocalizationDictionary :
public ::ILocalizationDictionary,
public ::I18nObserver {
27 LocalLocalizationDictionary& operator=(LocalLocalizationDictionary
const&);
28 LocalLocalizationDictionary(LocalLocalizationDictionary
const&);
29 LocalLocalizationDictionary();
35 virtual ~LocalLocalizationDictionary() =
default;
37 virtual ~LocalLocalizationDictionary() ;
41 virtual ::std::string getLocString(::std::string
const&)
const ;
43 virtual ::std::string getLocString(::std::string
const& locKey)
const ;
46 virtual bool isLocalizationReady()
const ;
49 virtual void onLanguageChanged(::std::string
const&,
bool) ;
51 virtual void onLanguageChanged(::std::string
const& locCode,
bool) ;
54 virtual void onLanguageKeywordsLoadedFromPack(
::PackManifest const&) ;
56 virtual void onLanguagesLoaded() ;
58 virtual void _updateLoc() ;
65 MCNAPI
explicit LocalLocalizationDictionary(
::Core::Path const& locFilePath);
67 MCNAPI
bool _appendLoc(::std::string
const& locCode,
::Localization& localizationObjToAppendLoc);
69 MCNAPI
void _initialize();
91 MCNAPI ::std::string $getLocString(::std::string
const& locKey)
const;
93 MCNAPI
bool $isLocalizationReady()
const;
95 MCNAPI
void $onLanguageChanged(::std::string
const& locCode,
bool);
97 MCNAPI
void $onLanguageKeywordsLoadedFromPack(
::PackManifest const&);
99 MCNAPI
void $onLanguagesLoaded();
101 MCNAPI
void $_updateLoc();