/[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

--- trunk/RomCheater/Docking/FloatingMemoryView.cs	2012/06/10 00:47:58	357
+++ trunk/RomCheater/Docking/FloatingMemoryView.cs	2013/06/03 07:13:44	471
@@ -16,7 +16,7 @@
 {
     public partial class FloatingMemoryView : DockContent,
         IAcceptsPlugin<IConfigPlugin>,
-        IAcceptsProcess<Process>,
+        IAcceptsProcess,
         IAcceptsProcessAndConfig, 
         IBrowseMemoryRegion,
         IAcceptsMemoryRange,
@@ -25,25 +25,25 @@
         public FloatingMemoryView() { 
             InitializeComponent(); 
             this.AcceptedPlugin = null;
-            this.AcceptedProcess = null;
+            this.ProcessPID = 0;
             //this.MemoryStart = uint.MinValue;
             //this.MemorySize = uint.MaxValue;
         }
         public FloatingMemoryView(IConfigPlugin config) : this() { this.AcceptedPlugin = config; }
-        public FloatingMemoryView(IConfigPlugin config, Process process) : this() { this.AcceptedPlugin = config; this.AcceptedProcess = process; }
+        public FloatingMemoryView(IConfigPlugin config, int pid) : this() { this.AcceptedPlugin = config; this.ProcessPID = pid; }
         #region  IAcceptsProcess<Process> Members
-        public Process AcceptedProcess { get { return MemView.AcceptedProcess; } set { MemView.AcceptedProcess = value; } }
+        public int ProcessPID { get { return MemView.ProcessPID; } set { MemView.ProcessPID = value; } }
         #endregion
         #region IAcceptsPlugin<IConfigPlugin> Members
         public IConfigPlugin AcceptedPlugin { get { return MemView.AcceptedPlugin; } set { MemView.AcceptedPlugin = value; } }
         #endregion
         #region IAcceptsMemoryRange members
-        public int MemoryRangeStart { get { return MemView.MemoryRangeStart; } set { MemView.MemoryRangeStart = value; } } // set is empty in MemView, placed here incase it changes
+        public uint MemoryRangeStart { get { return MemView.MemoryRangeStart; } set { MemView.MemoryRangeStart = value; } } // set is empty in MemView, placed here incase it changes
         public uint MemoryRangeSize { get { return MemView.MemoryRangeSize; } set { MemView.MemoryRangeSize = value; } } // set is empty in MemView, placed here incase it changes
         #endregion
 
         #region IBrowseMemoryRegion
-        public bool BrowseMemoryRegion(int MemoryRegion) { return MemView.BrowseMemoryRegion(MemoryRegion); }
+        public bool BrowseMemoryRegion(uint MemoryRegion) { return MemView.BrowseMemoryRegion(MemoryRegion); }
         #endregion
 
         #region IAcceptPEData members

 

  ViewVC Help
Powered by ViewVC 1.1.22