JD2022-TU1/main/tools/apps/Fontastic/App.xaml.cs

37 lines
No EOL
1 KiB
C#

using JD.Fontastic;
using JD.FontGeneration.Service;
using JD.MapFileFontDownloader.Service;
using JD.MapFileFontReader.Service;
using Plume.Application.WPF;
using Plume.Interfaces.Services;
using Plume.Interfaces.WPF.Modules;
using Plume.Output;
using Plume.Perforce.Service.Implementation;
using System.Collections.Generic;
namespace Fontastic
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : WpfApplication
{
public App()
{
}
protected override IEnumerable<WpfModuleInfo> SetupModules()
{
yield return new WpfModuleInfo(new FontasticModule());
yield return new WpfModuleInfo(new OutputModule());
}
protected override IEnumerable<IService> SetupServices()
{
yield return new PerforceService();
yield return new MapFileFontReaderService();
yield return new MapFileFontDownloaderService();
yield return new FontGenerationService();
}
}
}