/[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	2013/06/03 18:22:20	476
+++ trunk/RomCheater/Docking/FloatingMemoryView.cs	2013/06/03 18:35:45	477
@@ -16,7 +16,7 @@
 {
     public partial class FloatingMemoryView : DockContent,
         IAcceptsPlugin<IConfigPlugin>,
-        IAcceptsProcess,
+        IAcceptsProcess<Process>,
         IAcceptsProcessAndConfig, 
         IBrowseMemoryRegion,
         IAcceptsMemoryRange,
@@ -25,14 +25,14 @@
         public FloatingMemoryView() { 
             InitializeComponent(); 
             this.AcceptedPlugin = null;
-            this.ProcessPID = 0;
+            this.AcceptedProcess = null;
             //this.MemoryStart = uint.MinValue;
             //this.MemorySize = uint.MaxValue;
         }
         public FloatingMemoryView(IConfigPlugin config) : this() { this.AcceptedPlugin = config; }
-        public FloatingMemoryView(IConfigPlugin config, int pid) : this() { this.AcceptedPlugin = config; this.ProcessPID = pid; }
+        public FloatingMemoryView(IConfigPlugin config, Process process) : this() { this.AcceptedPlugin = config; this.AcceptedProcess = process; }
         #region  IAcceptsProcess<Process> Members
-        public int ProcessPID { get { return MemView.ProcessPID; } set { MemView.ProcessPID = value; } }
+        public Process AcceptedProcess { get { return MemView.AcceptedProcess; } set { MemView.AcceptedProcess = value; } }
         #endregion
         #region IAcceptsPlugin<IConfigPlugin> Members
         public IConfigPlugin AcceptedPlugin { get { return MemView.AcceptedPlugin; } set { MemView.AcceptedPlugin = value; } }

 

  ViewVC Help
Powered by ViewVC 1.1.22