1 |
william |
83 |
using System; |
2 |
|
|
using System.Collections.Generic; |
3 |
|
|
using System.Linq; |
4 |
|
|
using System.Text; |
5 |
|
|
using RomCheater.PluginFramework.Interfaces; |
6 |
|
|
using RomCheater.Logging; |
7 |
|
|
|
8 |
|
|
namespace RomCheater.PluginFramework.Core |
9 |
|
|
{ |
10 |
|
|
public class PluginLoader : IPluginLoader |
11 |
|
|
{ |
12 |
|
|
public PluginLoader() |
13 |
|
|
{ |
14 |
|
|
LoadedConfigPlugins = new List<IConfigPlugin>(); |
15 |
|
|
LoadedInputPlugins = new List<IInputPlugin>(); |
16 |
|
|
LoadedWindowPlugins = new List<IWindowPlugin>(); |
17 |
|
|
} |
18 |
|
|
#region IPluginLoader Members |
19 |
|
|
|
20 |
|
|
public void LoadPlugins() |
21 |
|
|
{ |
22 |
|
|
logger.Info.WriteLine("Loading Plugins..."); |
23 |
|
|
logger.Info.WriteLine("Plguins Loaded."); |
24 |
|
|
} |
25 |
|
|
public List<IConfigPlugin> LoadedConfigPlugins { get; private set; } |
26 |
|
|
public List<IInputPlugin> LoadedInputPlugins { get; private set; } |
27 |
|
|
public List<IWindowPlugin> LoadedWindowPlugins { get; private set; } |
28 |
|
|
#endregion |
29 |
|
|
} |
30 |
|
|
} |