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 256 by william, Sun Jun 3 16:50:16 2012 UTC vs.
Revision 275 by william, Sun Jun 3 22:01:05 2012 UTC

--- trunk/RomCheater.PluginFramework/Events/IAcceptsMemoryAddress.cs	2012/06/03 16:50:16	256
+++ trunk/RomCheater.PluginFramework/Events/IAcceptsMemoryAddress.cs	2012/06/03 22:01:05	275
@@ -9,4 +9,24 @@ namespace RomCheater.PluginFramework.Eve
     {
         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
+    }
 }