/[RomCheater]/trunk/RomCheater.Core/PluginInterfaces.cs
ViewVC logotype

Diff of /trunk/RomCheater.Core/PluginInterfaces.cs

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

--- trunk/RomCheater.Core/PluginInterfaces.cs	2013/06/17 11:47:23	696
+++ trunk/RomCheater.Core/PluginInterfaces.cs	2013/06/18 11:27:53	717
@@ -68,6 +68,12 @@
         void Show(DockPanel dockPanel);
         void Show(DockPanel dockPanel, DockState dockState);
         void Config();
+
+        void Activate();
+        void Close();
+        DockContentHandler DockHandler { get; }
+        IDockContent DockContent { get; }
+        string IDockContentTypeName { get; }
     }
     #endregion
     #region IPluginLoader
@@ -84,6 +90,16 @@
         IInputPlugin GetInputPlugin(string t);
         IWindowPlugin GetWindowPlugin(string t);
 
+        IConfigPlugin GetGenericConfigPlugin();
+        IInputPlugin GetGenericInputPlugin();
+        IWindowPlugin GetGenericWindowPlugin();
+
+        T GetPluginByName<T>(string name) where T : IPluginBase;
+        T GetPluginByGuid<T>(string t) where T : IPluginBase;
+        string[] GetKnownPluginGuids<T>() where T : IPluginBase;
+        bool IsKnownPluginGuid<T>(string t, out T plugin) where T : IPluginBase;
+        bool IsKnownPluginName<T>(string plugin_name, out T plugin) where T : IPluginBase;
+        
         string ToString();
     }
     #endregion

 

  ViewVC Help
Powered by ViewVC 1.1.22