diff options
author | sr55 <[email protected]> | 2014-11-23 21:26:15 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-11-23 21:26:15 +0000 |
commit | 041b565e4316317e07b00e4db815307d7280b27f (patch) | |
tree | 872948418b48bd9885443a93982a6f609feafc59 /win/CS/HandBrakeWPF/Startup | |
parent | 40b699f2cbb07961e08a8f828bdd7ea4c2dbfe29 (diff) |
WinGui: Move the preset system out of the services package.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6544 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Startup')
-rw-r--r-- | win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs index 379fcec91..c22d881cb 100644 --- a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs +++ b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs @@ -26,6 +26,8 @@ namespace HandBrakeWPF.Startup using HandBrakeWPF.Commands;
using HandBrakeWPF.Commands.Interfaces;
+ using HandBrakeWPF.Services.Presets;
+ using HandBrakeWPF.Services.Presets.Interfaces;
using ViewModels;
using ViewModels.Interfaces;
@@ -63,6 +65,7 @@ namespace HandBrakeWPF.Startup this.windsorContainer.Register(Component.For<INotificationService>().ImplementedBy<NotificationService>().LifeStyle.Is(LifestyleType.Singleton));
this.windsorContainer.Register(Component.For<IPrePostActionService>().ImplementedBy<PrePostActionService>().LifeStyle.Is(LifestyleType.Singleton));
this.windsorContainer.Register(Component.For<IUserSettingService>().ImplementedBy<UserSettingService>());
+ this.windsorContainer.Register(Component.For<IPresetService>().ImplementedBy<PresetService>());
// Commands
this.windsorContainer.Register(Component.For<IAdvancedEncoderOptionsCommand>().ImplementedBy<AdvancedEncoderOptionsCommand>().LifeStyle.Is(LifestyleType.Singleton));
|