Renamed plugin class to LANCommanderLibraryPlugin

This commit is contained in:
Pat Hartl 2023-01-14 15:15:31 -06:00
parent 839c969000
commit b28ef5a40c
6 changed files with 12 additions and 12 deletions

View file

@ -18,9 +18,9 @@ namespace LANCommander.PlaynitePlugin
{ {
public class LANCommanderInstallController : InstallController 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"; Name = "Install using LANCommander";
Plugin = plugin; Plugin = plugin;

View file

@ -16,7 +16,7 @@ using PN = Playnite;
namespace LANCommander.PlaynitePlugin namespace LANCommander.PlaynitePlugin
{ {
public class PlayniteLibraryPlugin : LibraryPlugin public class LANCommanderLibraryPlugin : LibraryPlugin
{ {
public static readonly ILogger Logger = LogManager.GetLogger(); public static readonly ILogger Logger = LogManager.GetLogger();
internal PlayniteSettingsViewModel Settings { get; set; } internal PlayniteSettingsViewModel Settings { get; set; }
@ -26,7 +26,7 @@ namespace LANCommander.PlaynitePlugin
public override string Name => "LANCommander"; public override string Name => "LANCommander";
public override LibraryClient Client { get; } = new PlayniteClient(); public override LibraryClient Client { get; } = new PlayniteClient();
public PlayniteLibraryPlugin(IPlayniteAPI api) : base(api) public LANCommanderLibraryPlugin(IPlayniteAPI api) : base(api)
{ {
Properties = new LibraryPluginProperties Properties = new LibraryPluginProperties
{ {

View file

@ -10,7 +10,7 @@ namespace LANCommander.PlaynitePlugin
{ {
public class PlayniteSettingsViewModel : ObservableObject, ISettings public class PlayniteSettingsViewModel : ObservableObject, ISettings
{ {
private readonly PlayniteLibraryPlugin Plugin; private readonly LANCommanderLibraryPlugin Plugin;
public string ServerAddress { get; set; } = String.Empty; public string ServerAddress { get; set; } = String.Empty;
public string AccessToken { get; set; } = String.Empty; public string AccessToken { get; set; } = String.Empty;
@ -19,7 +19,7 @@ namespace LANCommander.PlaynitePlugin
public PlayniteSettingsViewModel() { } public PlayniteSettingsViewModel() { }
public PlayniteSettingsViewModel(PlayniteLibraryPlugin plugin) public PlayniteSettingsViewModel(LANCommanderLibraryPlugin plugin)
{ {
Plugin = plugin; Plugin = plugin;

View file

@ -19,10 +19,10 @@ namespace LANCommander.PlaynitePlugin
{ {
public partial class PlayniteSettingsView : UserControl public partial class PlayniteSettingsView : UserControl
{ {
private PlayniteLibraryPlugin Plugin; private LANCommanderLibraryPlugin Plugin;
private PlayniteSettingsViewModel Settings; private PlayniteSettingsViewModel Settings;
public PlayniteSettingsView(PlayniteLibraryPlugin plugin) public PlayniteSettingsView(LANCommanderLibraryPlugin plugin)
{ {
this.Plugin = plugin; this.Plugin = plugin;
this.Settings = plugin.Settings; this.Settings = plugin.Settings;

View file

@ -16,9 +16,9 @@ namespace LANCommander.PlaynitePlugin
{ {
public class LANCommanderUninstallController : UninstallController 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"; Name = "Uninstall LANCommander Game";
Plugin = plugin; Plugin = plugin;

View file

@ -19,10 +19,10 @@ namespace LANCommander.PlaynitePlugin.Views
{ {
public partial class Authentication : UserControl public partial class Authentication : UserControl
{ {
private PlayniteLibraryPlugin Plugin; private LANCommanderLibraryPlugin Plugin;
private ViewModels.Authentication Context { get { return (ViewModels.Authentication)DataContext; } } private ViewModels.Authentication Context { get { return (ViewModels.Authentication)DataContext; } }
public Authentication(PlayniteLibraryPlugin plugin) public Authentication(LANCommanderLibraryPlugin plugin)
{ {
Plugin = plugin; Plugin = plugin;