1 |
william |
83 |
using System; |
2 |
|
|
using System.Collections.Generic; |
3 |
|
|
using System.Linq; |
4 |
|
|
using System.Text; |
5 |
|
|
using System.Diagnostics; |
6 |
william |
88 |
using RomCheater.PluginFramework.Core; |
7 |
william |
83 |
|
8 |
|
|
namespace RomCheater.PluginFramework.Interfaces |
9 |
|
|
{ |
10 |
|
|
#region IPluginBase |
11 |
|
|
public interface IPluginBase |
12 |
|
|
{ |
13 |
william |
86 |
Guid Id { get; } |
14 |
william |
83 |
string Name { get;} |
15 |
|
|
string Description { get; } |
16 |
william |
86 |
string ToString(); |
17 |
william |
83 |
} |
18 |
|
|
#endregion |
19 |
|
|
#region IConfigPlugin |
20 |
|
|
public interface IConfigPlugin : IPluginBase |
21 |
|
|
{ |
22 |
william |
88 |
List<ProcContainer> ValidProcessesForPlugin { get; } |
23 |
william |
83 |
} |
24 |
|
|
#endregion |
25 |
|
|
#region IInputPlugin |
26 |
|
|
public interface IInputPlugin : IPluginBase |
27 |
|
|
{ |
28 |
|
|
} |
29 |
|
|
#endregion |
30 |
|
|
#region IWindowPlugin |
31 |
|
|
public interface IWindowPlugin : IPluginBase |
32 |
|
|
{ |
33 |
|
|
} |
34 |
|
|
#endregion |
35 |
|
|
#region IPluginLoader |
36 |
|
|
public interface IPluginLoader |
37 |
|
|
{ |
38 |
|
|
void LoadPlugins(); |
39 |
|
|
List<IConfigPlugin> LoadedConfigPlugins { get; } |
40 |
|
|
List<IInputPlugin> LoadedInputPlugins { get; } |
41 |
|
|
List<IWindowPlugin> LoadedWindowPlugins { get; } |
42 |
william |
87 |
|
43 |
|
|
IConfigPlugin GetConfigPlugin(string t); |
44 |
|
|
IInputPlugin GetInputPlugin(string t); |
45 |
|
|
IWindowPlugin GetWindowPlugin(string t); |
46 |
|
|
|
47 |
william |
86 |
string ToString(); |
48 |
william |
83 |
} |
49 |
|
|
#endregion |
50 |
|
|
} |