/[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 201 by william, Thu May 31 08:10:25 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() {          public FloatingMemoryView() {
24              InitializeComponent();              InitializeComponent();
# Line 24  namespace RomCheater.Docking Line 29  namespace RomCheater.Docking
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 { return MemView.AcceptedProcess; } set { MemView.AcceptedProcess = value; } }          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 { return MemView.AcceptedPlugin; } set { MemView.AcceptedPlugin = value; } }          public IConfigPlugin AcceptedPlugin { get { return MemView.AcceptedPlugin; } set { MemView.AcceptedPlugin = value; } }
37          #endregion          #endregion
38          //#region IAcceptsMemoryRange members          #region IAcceptsMemoryRange members
39          //private uint MemoryStart { get { return MemView.MemoryStart; } set { MemView.MemoryStart = value; } }          public int MemoryRangeStart { get { return MemView.MemoryRangeStart; } set { MemView.MemoryRangeStart = value; } } // set is empty in MemView, placed here incase it changes
40          //private uint MemorySize { get { return MemView.MemorySize; } set { MemView.MemorySize = value; } }          public uint MemoryRangeSize { get { return MemView.MemoryRangeSize; } set { MemView.MemoryRangeSize = value; } } // set is empty in MemView, placed here incase it changes
41          //#endregion          #endregion
42    
43            #region IBrowseMemoryRegion
44            public bool BrowseMemoryRegion(int MemoryRegion) { return MemView.BrowseMemoryRegion(MemoryRegion); }
45            #endregion
46      }      }
47  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.22