Renamed plugin class to LANCommanderLibraryPlugin
This commit is contained in:
parent
839c969000
commit
b28ef5a40c
6 changed files with 12 additions and 12 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
{
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue