1 |
using System; |
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Diagnostics; |
6 |
using RomCheater.PluginFramework.Core; |
7 |
|
8 |
namespace RomCheater.PluginFramework.Interfaces |
9 |
{ |
10 |
#region IPluginBase |
11 |
public interface IPluginBase |
12 |
{ |
13 |
Guid Id { get; } |
14 |
string Name { get;} |
15 |
string Description { get; } |
16 |
string ToString(); |
17 |
} |
18 |
#endregion |
19 |
#region IConfigPlugin |
20 |
public interface IConfigPlugin : IPluginBase |
21 |
{ |
22 |
List<ProcContainer> ValidProcessesForPlugin { get; } |
23 |
} |
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 |
|
43 |
IConfigPlugin GetConfigPlugin(string t); |
44 |
IInputPlugin GetInputPlugin(string t); |
45 |
IWindowPlugin GetWindowPlugin(string t); |
46 |
|
47 |
string ToString(); |
48 |
} |
49 |
#endregion |
50 |
} |