public PluginSettings(ICore core) { _uniqueInstance = this; _core = core; }
public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core) { var p = new PluginSettings(core); AddAction(ACTION_SHOW); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_TITLE)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_SELECTED)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_SELECTEDMARKERS)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_ALL)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_ACTIVE)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_AREAS)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_SHOWGEOCACHES)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_NAME)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_LEVEL)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_ADD)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_LOADING)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_LOCATION)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GMapForm.STR_GO)); core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_CLUSTERMARKER)); core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_ENABLEABOVETHRESHOLD)); core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_GRIDSIZE)); core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_MAXZOOMLEVEL)); core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_SHOWNAME)); core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_AUTOTOPPANEL)); return await base.InitializeAsync(core); }