From 83af0dca6f4ecc16d5a4dcc6b6ccd97b707f7156 Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 25 Sep 2012 15:23:17 +0000 Subject: WinGui: LibHb Encode and Scan support (off by default for the moment until I have time to test this and tidy up some of the code) Can be turned on in preferences. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4980 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'win/CS/HandBrakeWPF/Startup') diff --git a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs index dadae2026..e34f98ada 100644 --- a/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs +++ b/win/CS/HandBrakeWPF/Startup/CastleBootstrapper.cs @@ -21,6 +21,8 @@ namespace HandBrakeWPF.Startup using Castle.Windsor; using HandBrake.ApplicationServices; + using HandBrake.ApplicationServices.Services.Interfaces; + using HandBrake.Interop; using ViewModels; using ViewModels.Interfaces; @@ -49,11 +51,14 @@ namespace HandBrakeWPF.Startup // Initialise the ApplicationServices IWindsorInstaller this.windsorContainer.Register(Component.For().ImplementedBy()); + this.windsorContainer.Register(Component.For().ImplementedBy()); this.windsorContainer.Install(windsorContainer.ResolveAll()); // Services this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); + this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); + this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); // Shell this.windsorContainer.Register(Component.For().ImplementedBy().LifeStyle.Is(LifestyleType.Singleton)); -- cgit v1.2.3