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