ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Docking/FloatingMemoryView.cs
(Generate patch)

Comparing trunk/RomCheater/Docking/FloatingMemoryView.cs (file contents):
Revision 196 by william, Thu May 31 05:52:41 2012 UTC vs.
Revision 201 by william, Thu May 31 08:10:25 2012 UTC

--- trunk/RomCheater/Docking/FloatingMemoryView.cs	2012/05/31 05:52:41	196
+++ trunk/RomCheater/Docking/FloatingMemoryView.cs	2012/05/31 08:10:25	201
@@ -15,14 +15,24 @@ namespace RomCheater.Docking
 {
     public partial class FloatingMemoryView : DockContent, IProcessConfig, IAcceptsPlugin<IConfigPlugin>
     {
-        public FloatingMemoryView() { InitializeComponent(); this.AcceptedPlugin = null; this.AcceptedProcess = null; }
+        public FloatingMemoryView() { 
+            InitializeComponent(); 
+            this.AcceptedPlugin = null;
+            this.AcceptedProcess = null;
+            //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; }
         #region IProcessConfig Members
-        public Process AcceptedProcess { get; set; }
+        public Process AcceptedProcess { get { return MemView.AcceptedProcess; } set { MemView.AcceptedProcess = value; } }
         #endregion
         #region IAcceptsPlugin<IConfigPlugin> Members
-        public IConfigPlugin AcceptedPlugin { get; set; }
+        public IConfigPlugin AcceptedPlugin { get { return MemView.AcceptedPlugin; } set { MemView.AcceptedPlugin = value; } }
         #endregion
+        //#region IAcceptsMemoryRange members
+        //private uint MemoryStart { get { return MemView.MemoryStart; } set { MemView.MemoryStart = value; } }
+        //private uint MemorySize { get { return MemView.MemorySize; } set { MemView.MemorySize = value; } }
+        //#endregion
     }
 }