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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 378 - (hide annotations) (download)
Tue Jun 19 07:56:36 2012 UTC (8 years, 1 month ago) by william
File size: 1087 byte(s)
use uint instead of int for memory addresses

1 william 206 using System;
2     using System.Collections.Generic;
3     using System.Linq;
4     using System.Text;
5    
6     namespace RomCheater.PluginFramework.Events
7     {
8 william 276 public interface IBrowseMemoryRegion
9 william 206 {
10 william 378 bool BrowseMemoryRegion(uint MemoryRegion);
11 william 206 }
12 william 275
13     public interface IAcceptsBrowseMemoryRegion
14     {
15 william 287 event BaseEventHandler<BrowseMemoryRegionEvent> OnBrowseMemoryRegion;
16 william 275 }
17    
18     public interface IBrowseMemoryRegionEvent
19     {
20 william 378 uint MemoryRegion { get; }
21 william 275 }
22     public class BrowseMemoryRegionEvent : BaseEventArgs, IBrowseMemoryRegionEvent
23     {
24     public BrowseMemoryRegionEvent() : this(0) { }
25 william 323 public BrowseMemoryRegionEvent(object sender) : this(sender, 0) { }
26 william 378 public BrowseMemoryRegionEvent(uint memoryRegion) : base() { this.MemoryRegion = memoryRegion; }
27     public BrowseMemoryRegionEvent(object sender, uint memoryRegion) : base(sender) { this.MemoryRegion = memoryRegion; }
28 william 275 #region IBrowseMemoryRegionEvent members
29 william 378 public uint MemoryRegion { get; private set; }
30 william 275 #endregion
31     }
32 william 206 }

  ViewVC Help
Powered by ViewVC 1.1.22