16class LocalLocalizationDictionary :
public ::ILocalizationDictionary,
public ::I18nObserver {
27 LocalLocalizationDictionary& operator=(LocalLocalizationDictionary
const&);
28 LocalLocalizationDictionary(LocalLocalizationDictionary
const&);
29 LocalLocalizationDictionary();
35 virtual ~LocalLocalizationDictionary() =
default;
37 virtual ~LocalLocalizationDictionary() ;
40 virtual ::std::string getLocString(::std::string
const& locKey)
const ;
42 virtual bool isLocalizationReady()
const ;
45 virtual void onLanguageChanged(::std::string
const&,
bool) ;
47 virtual void onLanguageChanged(::std::string
const& locCode,
bool) ;
50 virtual void onLanguageKeywordsLoadedFromPack(
::PackManifest const&) ;
52 virtual void onLanguagesLoaded() ;
54 virtual void _updateLoc() ;
61 MCNAPI
explicit LocalLocalizationDictionary(
::Core::Path const& locFilePath);
63 MCNAPI
bool _appendLoc(::std::string
const& locCode,
::Localization& localizationObjToAppendLoc);
65 MCNAPI
void _initialize();
89 MCNAPI ::std::string $getLocString(::std::string
const& locKey)
const;
91 MCNAPI
bool $isLocalizationReady()
const;
93 MCNAPI
void $onLanguageChanged(::std::string
const& locCode,
bool);
95 MCNAPI
void $onLanguageKeywordsLoadedFromPack(
::PackManifest const&);
97 MCNAPI
void $onLanguagesLoaded();
99 MCNAPI
void $_updateLoc();