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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 92 - (show annotations) (download)
Wed May 9 21:42:21 2012 UTC (8 years, 5 months ago) by william
File size: 1313 byte(s)

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 void Reload();
18 }
19 #endregion
20 #region IConfigPlugin
21 public interface IConfigPlugin : IPluginBase
22 {
23 List<ProcContainer> ValidProcessesForPlugin { get; }
24 }
25 #endregion
26 #region IInputPlugin
27 public interface IInputPlugin : IPluginBase
28 {
29 }
30 #endregion
31 #region IWindowPlugin
32 public interface IWindowPlugin : IPluginBase
33 {
34 }
35 #endregion
36 #region IPluginLoader
37 public interface IPluginLoader
38 {
39 void LoadPlugins();
40 List<IConfigPlugin> LoadedConfigPlugins { get; }
41 List<IInputPlugin> LoadedInputPlugins { get; }
42 List<IWindowPlugin> LoadedWindowPlugins { get; }
43
44 IConfigPlugin GetConfigPlugin(string t);
45 IInputPlugin GetInputPlugin(string t);
46 IWindowPlugin GetWindowPlugin(string t);
47
48 string ToString();
49 }
50 #endregion
51 }

  ViewVC Help
Powered by ViewVC 1.1.22