ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.PluginFramework/Events/IAcceptsMemoryAddress.cs
(Generate patch)

Comparing trunk/RomCheater.PluginFramework/Events/IAcceptsMemoryAddress.cs (file contents):
Revision 206 by william, Thu May 31 09:31:57 2012 UTC vs.
Revision 275 by william, Sun Jun 3 22:01:05 2012 UTC

--- trunk/RomCheater.PluginFramework/Events/IAcceptsMemoryAddress.cs	2012/05/31 09:31:57	206
+++ trunk/RomCheater.PluginFramework/Events/IAcceptsMemoryAddress.cs	2012/06/03 22:01:05	275
@@ -7,6 +7,26 @@ namespace RomCheater.PluginFramework.Eve
 {
     public interface IAcceptsExternalMemoryAddress
     {
-        bool AcceptExternalMemoryAddress(uint address);
+        bool AcceptExternalMemoryAddress(int address);
+    }
+
+    public interface IAcceptsBrowseMemoryRegion
+    {
+        BaseEventHandler<BrowseMemoryRegionEvent> OnBrowseMemoryRegion { get; set; }
+    }
+
+    public interface IBrowseMemoryRegionEvent
+    {
+        int Address { get; }
+    }
+    public class BrowseMemoryRegionEvent : BaseEventArgs, IBrowseMemoryRegionEvent
+    {
+        public BrowseMemoryRegionEvent() : this(0) { }
+        public BrowseMemoryRegionEvent(object sender) : this(0, sender) { }
+        public BrowseMemoryRegionEvent(int address) : base() { this.Address = address; }
+        public BrowseMemoryRegionEvent(int address, object sender) : base(sender) { this.Address = address; }
+        #region IBrowseMemoryRegionEvent members
+        public int Address { get; private set; }
+        #endregion
     }
 }