/[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 09:46:51	688
+++ trunk/RomCheater.Core/PluginInterfaces.cs	2013/06/18 11:27:53	717
@@ -29,6 +29,12 @@
         void ReadProcessMemory(ulong MemoryAddress, ulong bytesToRead, out ulong bytesRead, out byte[] data);
         void WriteProcessMemory(long MemoryAddress, byte[] bytesToWrite, out ulong bytesWritten);
         List<MEMORY_REGION_INFORMATION> QueryMemoryRegions();
+
+        void RaisePluginFrameworkEvents();
+
+        IWebBrowserInterface WebBrowserInterface { get; }
+
+
     }
     #region IPluginBase SubMembers
     public interface IToString { string ToString();    }
@@ -42,6 +48,7 @@
     public interface IConfigPlugin : IPluginBase, IAcceptsReadOnlyMemoryRange, ISearchInProgress, IAcceptsMemorySearch
     {
         List<ProcContainer> ValidProcessesForPlugin { get; }
+        IWebBrowserProvider WebBrowserProvider { get; set; }
     }
     #endregion
     #region IInputPlugin
@@ -61,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
@@ -77,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