/[RomCheater]/trunk/RomCheater.PluginFramework/Interfaces/PluginInterfaces.cs
ViewVC logotype

Annotation of /trunk/RomCheater.PluginFramework/Interfaces/PluginInterfaces.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 87 - (hide annotations) (download)
Wed May 9 19:51:42 2012 UTC (8 years, 5 months ago) by william
File size: 1243 byte(s)
+ add support for loading and saving config plugins

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 87
42     IConfigPlugin GetConfigPlugin(string t);
43     IInputPlugin GetInputPlugin(string t);
44     IWindowPlugin GetWindowPlugin(string t);
45    
46 william 86 string ToString();
47 william 83 }
48     #endregion
49     }

  ViewVC Help
Powered by ViewVC 1.1.22