diff options
author | Scott <[email protected]> | 2020-04-26 12:14:42 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-26 12:14:42 +0100 |
commit | 1f09b740f80dac1ab1e0b17519b2a7e4f3440fa4 (patch) | |
tree | c6d3102080111ee699ef6f91c3571ff611a1a882 /win/CS/HandBrakeWPF/Startup | |
parent | f8b3478d8b7a1c9284c4339b32ce8f7bdc5d54b3 (diff) |
Multi instance (#2791)
WinGui: Refactoring and laying the groundwork in many parts of the UI code in preparation for supporting multiple concurrent jobs running.
- Add support for multiple log files to the Activity log screen and refactor usages of ILog. Each Encode instance will now get a separate instance instead of there being one global instance.
- Retire the Mini Display Window. It's very rarely used, not very easy to even find and of limited value.
- Add the preferences code for the Simultaneous encode setting.
Locked to one instance for now. This will allow us to test with users that existing functionality still works fine.
Diffstat (limited to 'win/CS/HandBrakeWPF/Startup')
-rw-r--r-- | win/CS/HandBrakeWPF/Startup/AppBootstrapper.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Startup/AppBootstrapper.cs b/win/CS/HandBrakeWPF/Startup/AppBootstrapper.cs index 67c7bd261..16e5cad60 100644 --- a/win/CS/HandBrakeWPF/Startup/AppBootstrapper.cs +++ b/win/CS/HandBrakeWPF/Startup/AppBootstrapper.cs @@ -20,6 +20,7 @@ namespace HandBrakeWPF.Startup using HandBrakeWPF.Services;
using HandBrakeWPF.Services.Interfaces;
using HandBrakeWPF.Services.Logging;
+ using HandBrakeWPF.Services.Logging.Interfaces;
using HandBrakeWPF.Services.Presets;
using HandBrakeWPF.Services.Presets.Interfaces;
using HandBrakeWPF.Services.Queue;
@@ -82,10 +83,10 @@ namespace HandBrakeWPF.Startup this.container.Singleton<ITitleSpecificViewModel, TitleSpecificViewModel>();
this.container.Singleton<IQueueSelectionViewModel, QueueSelectionViewModel>();
this.container.Singleton<ICountdownAlertViewModel, CountdownAlertViewModel>();
- this.container.Singleton<IMiniViewModel, MiniViewModel>();
this.container.Singleton<IStaticPreviewViewModel, StaticPreviewViewModel>();
this.container.Singleton<ISystemService, SystemService>();
this.container.Singleton<IHbFunctionsProvider, HbFunctionsProvider>();
+ this.container.Singleton<ILogInstanceManager, LogInstanceManager>();
// Tab Components
this.container.Singleton<IAudioViewModel, AudioViewModel>();
|