blob: a9bc473a24d0480c2b66873ef63b5f17ce917770 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* WindsorInstaller.cs $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr>.
It may be used under the terms of the GNU General Public License. */
namespace HandBrake.ApplicationServices
{
using Castle.MicroKernel;
using Castle.Windsor;
using HandBrake.ApplicationServices.Services;
using HandBrake.ApplicationServices.Services.Interfaces;
/// <summary>
/// This is the Windsor Installer class.
/// </summary>
public class WindsorInstaller : IWindsorInstaller
{
/// <summary>
/// Setup the Services for this Library
/// </summary>
/// <param name="container">
/// The container.
/// </param>
/// <param name="store">
/// The store.
/// </param>
public void Install(IWindsorContainer container, IConfigurationStore store)
{
container.AddComponent<IScan, ScanService>();
container.AddComponent<IQueue, Queue>();
container.AddComponent<IEncode, Encode>();
}
}
}
|