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

# Line 9 | Line 9 | namespace RomCheater.PluginFramework.Eve
9      {
10          bool AcceptExternalMemoryAddress(int address);
11      }
12 +
13 +    public interface IAcceptsBrowseMemoryRegion
14 +    {
15 +        BaseEventHandler<BrowseMemoryRegionEvent> OnBrowseMemoryRegion { get; set; }
16 +    }
17 +
18 +    public interface IBrowseMemoryRegionEvent
19 +    {
20 +        int Address { get; }
21 +    }
22 +    public class BrowseMemoryRegionEvent : BaseEventArgs, IBrowseMemoryRegionEvent
23 +    {
24 +        public BrowseMemoryRegionEvent() : this(0) { }
25 +        public BrowseMemoryRegionEvent(object sender) : this(0, sender) { }
26 +        public BrowseMemoryRegionEvent(int address) : base() { this.Address = address; }
27 +        public BrowseMemoryRegionEvent(int address, object sender) : base(sender) { this.Address = address; }
28 +        #region IBrowseMemoryRegionEvent members
29 +        public int Address { get; private set; }
30 +        #endregion
31 +    }
32   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines