/[RomCheater]/trunk/RomCheater/Docking/FloatingMemoryView.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingMemoryView.cs

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

revision 196 by william, Thu May 31 05:52:41 2012 UTC revision 287 by william, Tue Jun 5 08:52:07 2012 UTC
# Line 13  using System.Diagnostics; Line 13  using System.Diagnostics;
13    
14  namespace RomCheater.Docking  namespace RomCheater.Docking
15  {  {
16      public partial class FloatingMemoryView : DockContent, IProcessConfig, IAcceptsPlugin<IConfigPlugin>      public partial class FloatingMemoryView : DockContent,
17            IAcceptsPlugin<IConfigPlugin>,
18            IAcceptsProcess<Process>,
19            IAcceptsProcessAndConfig,
20            IBrowseMemoryRegion,
21            IAcceptsMemoryRange
22      {      {
23          public FloatingMemoryView() { InitializeComponent(); this.AcceptedPlugin = null; this.AcceptedProcess = null; }          public FloatingMemoryView() {
24                InitializeComponent();
25                this.AcceptedPlugin = null;
26                this.AcceptedProcess = null;
27                //this.MemoryStart = uint.MinValue;
28                //this.MemorySize = uint.MaxValue;
29            }
30          public FloatingMemoryView(IConfigPlugin config) : this() { this.AcceptedPlugin = config; }          public FloatingMemoryView(IConfigPlugin config) : this() { this.AcceptedPlugin = config; }
31          public FloatingMemoryView(IConfigPlugin config, Process process) : this() { this.AcceptedPlugin = config; this.AcceptedProcess = process; }          public FloatingMemoryView(IConfigPlugin config, Process process) : this() { this.AcceptedPlugin = config; this.AcceptedProcess = process; }
32          #region IProcessConfig Members          #region  IAcceptsProcess<Process> Members
33          public Process AcceptedProcess { get; set; }          public Process AcceptedProcess { get { return MemView.AcceptedProcess; } set { MemView.AcceptedProcess = value; } }
34          #endregion          #endregion
35          #region IAcceptsPlugin<IConfigPlugin> Members          #region IAcceptsPlugin<IConfigPlugin> Members
36          public IConfigPlugin AcceptedPlugin { get; set; }          public IConfigPlugin AcceptedPlugin { get { return MemView.AcceptedPlugin; } set { MemView.AcceptedPlugin = value; } }
37            #endregion
38            #region IAcceptsMemoryRange members
39            public int MemoryRangeStart { get { return MemView.MemoryRangeStart; } set { MemView.MemoryRangeStart = value; } } // set is empty in MemView, placed here incase it changes
40            public uint MemoryRangeSize { get { return MemView.MemoryRangeSize; } set { MemView.MemoryRangeSize = value; } } // set is empty in MemView, placed here incase it changes
41            #endregion
42    
43            #region IBrowseMemoryRegion
44            public bool BrowseMemoryRegion(int MemoryRegion) { return MemView.BrowseMemoryRegion(MemoryRegion); }
45          #endregion          #endregion
46      }      }
47  }  }

Legend:
Removed from v.196  
changed lines
  Added in v.287

  ViewVC Help
Powered by ViewVC 1.1.22