This commit is contained in:
2024-06-10 21:13:59 +02:00
parent 46ecd56640
commit 7f95130834
15 changed files with 330 additions and 96 deletions

View File

@@ -1,17 +1,11 @@
using OwnChar.App.Desktop.Api;
using Pilz.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OwnChar.App.Desktop
namespace OwnChar.App.Desktop;
public sealed class AppApi : IOwnCharApi
{
public sealed class AppApi : IOwnCharApi
{
public static AppApi Instance { get; } = new();
public IMainWindowApi? MainWindow { get; internal set; }
public ISettings? Settings { get; internal set; }
}
public static AppApi Instance { get; } = new();
public IMainWindowApi? MainWindow { get; internal set; }
public ISettings Settings { get; internal set; } = null!;
}