summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-11-23 21:26:15 +0000
committersr55 <[email protected]>2014-11-23 21:26:15 +0000
commit041b565e4316317e07b00e4db815307d7280b27f (patch)
tree872948418b48bd9885443a93982a6f609feafc59 /win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs
parent40b699f2cbb07961e08a8f828bdd7ea4c2dbfe29 (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/CastleBootstrapper.cs')
-rw-r--r--win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs3
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));