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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater.PluginFramework/Interfaces/PluginInterfaces.cs	2012/06/20 13:24:49	399
+++ trunk/RomCheater.PluginFramework/Interfaces/PluginInterfaces.cs	2013/05/28 19:10:10	440
@@ -5,6 +5,7 @@
 using System.Diagnostics;
 using RomCheater.PluginFramework.Core;
 using RomCheater.PluginFramework.Events;
+using WeifenLuo.WinFormsUI.Docking;
 
 namespace RomCheater.PluginFramework.Interfaces
 {
@@ -34,6 +35,15 @@
     {
     }
     #endregion
+    #region IUserControlPlugin
+    public interface IUserControlPlugin : IPluginBase
+    {
+        void Show();
+        void Show(DockPanel dockPanel);
+        void Show(DockPanel dockPanel, DockState dockState);
+        void Config();
+    }
+    #endregion
     #region IPluginLoader
     public interface IPluginLoader
     {
@@ -42,7 +52,8 @@
         List<IConfigPlugin> LoadedConfigPlugins { get; }
         List<IInputPlugin> LoadedInputPlugins { get; }
         List<IWindowPlugin> LoadedWindowPlugins { get; }
-        
+        List<IUserControlPlugin> LoadedUserControlPlugins { get; }
+
         IConfigPlugin GetConfigPlugin(string t);
         IInputPlugin GetInputPlugin(string t);
         IWindowPlugin GetWindowPlugin(string t);

 

  ViewVC Help
Powered by ViewVC 1.1.22