/[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/02 16:02:01	228
+++ trunk/RomCheater.PluginFramework/Interfaces/PluginInterfaces.cs	2012/06/07 19:18:31	329
@@ -14,7 +14,7 @@
     public interface IPluginName { string Name { get; } }
     public interface IPluginDescription { string Description { get; } }
     public interface IPluginID { Guid ID { get; } }
-    public interface IPluginRefresh { void Reload();    }
+    public interface IPluginRefresh { void Reload(); void Reload(bool silent);   }
     #endregion
     #endregion
     #region IConfigPlugin
@@ -48,25 +48,30 @@
         string ToString();
     }
     #endregion
-#region AcceptsPlugin
+    #region AcceptsPlugin
     public interface IAcceptsPlugin<TPlugin>
         where TPlugin : IPluginBase
     {
         TPlugin AcceptedPlugin { get; set; }
     }
-#endregion
-    public interface IProcessConfig : IAcceptsPlugin<IConfigPlugin>
+    public interface IAcceptsProcess<TProcess>
+        where TProcess : Process
     {
-        Process AcceptedProcess { get; set; }
+        TProcess AcceptedProcess { get; set; }
     }
+    #endregion
+    public interface IAcceptsProcessAndConfig<TPlugin, TProcess> : IAcceptsPlugin<TPlugin>, IAcceptsProcess<TProcess> 
+        where TPlugin : IPluginBase
+        where TProcess : Process { }
+    public interface IAcceptsProcessAndConfig : IAcceptsProcessAndConfig<IConfigPlugin,Process> { }
     public interface IAcceptsProcessPID
     {
         int ProcessPID { get; set; }
     }
     public interface IAcceptsMemoryRange
     {
-        uint MemoryStart { get; set; }
-        uint MemorySize { get; set; }
+        int MemoryRangeStart { get; set; }
+        uint MemoryRangeSize { get; set; }
     }
     public interface IOutputsData<TData> { TData Data { get; } }
     public interface ISearchInProgress { bool SearchInProgess { get; } }

 

  ViewVC Help
Powered by ViewVC 1.1.22