コード例 #1
0
ファイル: ThumbsOverview.cs プロジェクト: gahadzikwa/GAPP
        public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core)
        {
            if (PluginSettings.Instance == null)
            {
                var p = new PluginSettings(core);
            }

            AddAction(ACTION_SHOW);

            core.LanguageItems.Add(new Framework.Data.LanguageItem(ThumbsOverviewForm.STR_TITLE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ThumbsOverviewForm.STR_APPLY));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ThumbsOverviewForm.STR_FINDER));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ThumbsOverviewForm.STR_GCCODE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ThumbsOverviewForm.STR_GCNAME));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ThumbsOverviewForm.STR_GCOWNER));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ThumbsOverviewForm.STR_NAME));

            core.LanguageItems.Add(new Framework.Data.LanguageItem(ThumbInfoItem.STR_BY));

            return await base.InitializeAsync(core);
        }
コード例 #2
0
ファイル: Viewer.cs プロジェクト: gahadzikwa/GAPP
        public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core)
        {
            if (PluginSettings.Instance == null)
            {
                var p = new PluginSettings(core);
            }

            AddAction(ACTION_SHOW);

            core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_GRABBING_IMAGES));

            core.LanguageItems.Add(new Framework.Data.LanguageItem(ViewerForm.STR_TITLE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ViewerForm.STR_BY));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ViewerForm.STR_DATE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ViewerForm.STR_LOG));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ViewerForm.STR_NAME));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ViewerForm.STR_SLIDESHOW));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ViewerForm.STR_TEXT));

            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_CACHEDATA));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_DOWNLOADALL));

            return await base.InitializeAsync(core);
        }
コード例 #3
0
ファイル: PluginSettings.cs プロジェクト: pheijmans-zz/GAPP
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core           = core;
 }
コード例 #4
0
ファイル: PluginSettings.cs プロジェクト: gahadzikwa/GAPP
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core = core;
 }