ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.PluginFramework/Interfaces/PluginInterfaces.cs
Revision: 87
Committed: Wed May 9 19:51:42 2012 UTC (10 years, 6 months ago) by william
File size: 1243 byte(s)
Log Message:
+ add support for loading and saving config plugins

File Contents

# Content
1 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 Guid Id { get; }
13 string Name { get;}
14 string Description { get; }
15 string ToString();
16 }
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
42 IConfigPlugin GetConfigPlugin(string t);
43 IInputPlugin GetInputPlugin(string t);
44 IWindowPlugin GetWindowPlugin(string t);
45
46 string ToString();
47 }
48 #endregion
49 }