From b28ef5a40ca4b84f211be5042017fae9af81c411 Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Sat, 14 Jan 2023 15:15:31 -0600 Subject: [PATCH] Renamed plugin class to LANCommanderLibraryPlugin --- LANCommander.Playnite.Extension/InstallController.cs | 4 ++-- ...{PlayniteLibraryPlugin.cs => LANCommanderLibraryPlugin.cs} | 4 ++-- LANCommander.Playnite.Extension/PlayniteSettings.cs | 4 ++-- LANCommander.Playnite.Extension/PlayniteSettingsView.xaml.cs | 4 ++-- LANCommander.Playnite.Extension/UninstallController.cs | 4 ++-- LANCommander.Playnite.Extension/Views/Authentication.xaml.cs | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) rename LANCommander.Playnite.Extension/{PlayniteLibraryPlugin.cs => LANCommanderLibraryPlugin.cs} (98%) diff --git a/LANCommander.Playnite.Extension/InstallController.cs b/LANCommander.Playnite.Extension/InstallController.cs index d563226..546787e 100644 --- a/LANCommander.Playnite.Extension/InstallController.cs +++ b/LANCommander.Playnite.Extension/InstallController.cs @@ -18,9 +18,9 @@ namespace LANCommander.PlaynitePlugin { public class LANCommanderInstallController : InstallController { - private PlayniteLibraryPlugin Plugin; + private LANCommanderLibraryPlugin Plugin; - public LANCommanderInstallController(PlayniteLibraryPlugin plugin, Game game) : base(game) + public LANCommanderInstallController(LANCommanderLibraryPlugin plugin, Game game) : base(game) { Name = "Install using LANCommander"; Plugin = plugin; diff --git a/LANCommander.Playnite.Extension/PlayniteLibraryPlugin.cs b/LANCommander.Playnite.Extension/LANCommanderLibraryPlugin.cs similarity index 98% rename from LANCommander.Playnite.Extension/PlayniteLibraryPlugin.cs rename to LANCommander.Playnite.Extension/LANCommanderLibraryPlugin.cs index 758c0c2..2a233eb 100644 --- a/LANCommander.Playnite.Extension/PlayniteLibraryPlugin.cs +++ b/LANCommander.Playnite.Extension/LANCommanderLibraryPlugin.cs @@ -16,7 +16,7 @@ using PN = Playnite; namespace LANCommander.PlaynitePlugin { - public class PlayniteLibraryPlugin : LibraryPlugin + public class LANCommanderLibraryPlugin : LibraryPlugin { public static readonly ILogger Logger = LogManager.GetLogger(); internal PlayniteSettingsViewModel Settings { get; set; } @@ -26,7 +26,7 @@ namespace LANCommander.PlaynitePlugin public override string Name => "LANCommander"; public override LibraryClient Client { get; } = new PlayniteClient(); - public PlayniteLibraryPlugin(IPlayniteAPI api) : base(api) + public LANCommanderLibraryPlugin(IPlayniteAPI api) : base(api) { Properties = new LibraryPluginProperties { diff --git a/LANCommander.Playnite.Extension/PlayniteSettings.cs b/LANCommander.Playnite.Extension/PlayniteSettings.cs index 76518d5..6ea9ab4 100644 --- a/LANCommander.Playnite.Extension/PlayniteSettings.cs +++ b/LANCommander.Playnite.Extension/PlayniteSettings.cs @@ -10,7 +10,7 @@ namespace LANCommander.PlaynitePlugin { public class PlayniteSettingsViewModel : ObservableObject, ISettings { - private readonly PlayniteLibraryPlugin Plugin; + private readonly LANCommanderLibraryPlugin Plugin; public string ServerAddress { get; set; } = String.Empty; public string AccessToken { get; set; } = String.Empty; @@ -19,7 +19,7 @@ namespace LANCommander.PlaynitePlugin public PlayniteSettingsViewModel() { } - public PlayniteSettingsViewModel(PlayniteLibraryPlugin plugin) + public PlayniteSettingsViewModel(LANCommanderLibraryPlugin plugin) { Plugin = plugin; diff --git a/LANCommander.Playnite.Extension/PlayniteSettingsView.xaml.cs b/LANCommander.Playnite.Extension/PlayniteSettingsView.xaml.cs index 5f4c7bd..de66c58 100644 --- a/LANCommander.Playnite.Extension/PlayniteSettingsView.xaml.cs +++ b/LANCommander.Playnite.Extension/PlayniteSettingsView.xaml.cs @@ -19,10 +19,10 @@ namespace LANCommander.PlaynitePlugin { public partial class PlayniteSettingsView : UserControl { - private PlayniteLibraryPlugin Plugin; + private LANCommanderLibraryPlugin Plugin; private PlayniteSettingsViewModel Settings; - public PlayniteSettingsView(PlayniteLibraryPlugin plugin) + public PlayniteSettingsView(LANCommanderLibraryPlugin plugin) { this.Plugin = plugin; this.Settings = plugin.Settings; diff --git a/LANCommander.Playnite.Extension/UninstallController.cs b/LANCommander.Playnite.Extension/UninstallController.cs index c04e80f..f482867 100644 --- a/LANCommander.Playnite.Extension/UninstallController.cs +++ b/LANCommander.Playnite.Extension/UninstallController.cs @@ -16,9 +16,9 @@ namespace LANCommander.PlaynitePlugin { public class LANCommanderUninstallController : UninstallController { - private PlayniteLibraryPlugin Plugin; + private LANCommanderLibraryPlugin Plugin; - public LANCommanderUninstallController(PlayniteLibraryPlugin plugin, Game game) : base(game) + public LANCommanderUninstallController(LANCommanderLibraryPlugin plugin, Game game) : base(game) { Name = "Uninstall LANCommander Game"; Plugin = plugin; diff --git a/LANCommander.Playnite.Extension/Views/Authentication.xaml.cs b/LANCommander.Playnite.Extension/Views/Authentication.xaml.cs index 59b0b72..c789e50 100644 --- a/LANCommander.Playnite.Extension/Views/Authentication.xaml.cs +++ b/LANCommander.Playnite.Extension/Views/Authentication.xaml.cs @@ -19,10 +19,10 @@ namespace LANCommander.PlaynitePlugin.Views { public partial class Authentication : UserControl { - private PlayniteLibraryPlugin Plugin; + private LANCommanderLibraryPlugin Plugin; private ViewModels.Authentication Context { get { return (ViewModels.Authentication)DataContext; } } - public Authentication(PlayniteLibraryPlugin plugin) + public Authentication(LANCommanderLibraryPlugin plugin) { Plugin = plugin;