/[RomCheater]/trunk/RomCheater.PluginFramework/Events/IAcceptsMemoryAddress.cs
ViewVC logotype

Diff of /trunk/RomCheater.PluginFramework/Events/IAcceptsMemoryAddress.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 275 by william, Sun Jun 3 22:01:05 2012 UTC revision 276 by william, Sun Jun 3 22:04:37 2012 UTC
# Line 5  using System.Text; Line 5  using System.Text;
5    
6  namespace RomCheater.PluginFramework.Events  namespace RomCheater.PluginFramework.Events
7  {  {
8      public interface IAcceptsExternalMemoryAddress      public interface IBrowseMemoryRegion
9      {      {
10          bool AcceptExternalMemoryAddress(int address);          bool BrowseMemoryRegion(int MemoryRegion);
11      }      }
12    
13      public interface IAcceptsBrowseMemoryRegion      public interface IAcceptsBrowseMemoryRegion
# Line 17  namespace RomCheater.PluginFramework.Eve Line 17  namespace RomCheater.PluginFramework.Eve
17    
18      public interface IBrowseMemoryRegionEvent      public interface IBrowseMemoryRegionEvent
19      {      {
20          int Address { get; }          int MemoryRegion { get; }
21      }      }
22      public class BrowseMemoryRegionEvent : BaseEventArgs, IBrowseMemoryRegionEvent      public class BrowseMemoryRegionEvent : BaseEventArgs, IBrowseMemoryRegionEvent
23      {      {
24          public BrowseMemoryRegionEvent() : this(0) { }          public BrowseMemoryRegionEvent() : this(0) { }
25          public BrowseMemoryRegionEvent(object sender) : this(0, sender) { }          public BrowseMemoryRegionEvent(object sender) : this(0, sender) { }
26          public BrowseMemoryRegionEvent(int address) : base() { this.Address = address; }          public BrowseMemoryRegionEvent(int memoryRegion) : base() { this.MemoryRegion = memoryRegion; }
27          public BrowseMemoryRegionEvent(int address, object sender) : base(sender) { this.Address = address; }          public BrowseMemoryRegionEvent(int memoryRegion, object sender) : base(sender) { this.MemoryRegion = memoryRegion; }
28          #region IBrowseMemoryRegionEvent members          #region IBrowseMemoryRegionEvent members
29          public int Address { get; private set; }          public int MemoryRegion { get; private set; }
30          #endregion          #endregion
31      }      }
32  }  }

Legend:
Removed from v.275  
changed lines
  Added in v.276

  ViewVC Help
Powered by ViewVC 1.1.22