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 198 by william, Thu May 31 07:13:43 2012 UTC

# Line 15 | Line 15 | namespace RomCheater.Docking
15   {
16      public partial class FloatingMemoryView : DockContent, IProcessConfig, IAcceptsPlugin<IConfigPlugin>
17      {
18 <        public FloatingMemoryView() { InitializeComponent(); this.AcceptedPlugin = null; this.AcceptedProcess = null; }
18 >        public FloatingMemoryView() {
19 >            InitializeComponent();
20 >            this.AcceptedPlugin = null;
21 >            this.AcceptedProcess = null;
22 >            this.MemoryStart = uint.MinValue;
23 >            this.MemorySize = uint.MaxValue;
24 >        }
25          public FloatingMemoryView(IConfigPlugin config) : this() { this.AcceptedPlugin = config; }
26          public FloatingMemoryView(IConfigPlugin config, Process process) : this() { this.AcceptedPlugin = config; this.AcceptedProcess = process; }
27          #region IProcessConfig Members
28 <        public Process AcceptedProcess { get; set; }
28 >        public Process AcceptedProcess { get { return MemView.AcceptedProcess; } set { MemView.AcceptedProcess = value; } }
29          #endregion
30          #region IAcceptsPlugin<IConfigPlugin> Members
31 <        public IConfigPlugin AcceptedPlugin { get; set; }
31 >        public IConfigPlugin AcceptedPlugin { get { return MemView.AcceptedPlugin; } set { MemView.AcceptedPlugin = value; } }
32 >        #endregion
33 >        #region IAcceptsMemoryRange members
34 >        private uint MemoryStart { get { return MemView.MemoryStart; } set { MemView.MemoryStart = value; } }
35 >        private uint MemorySize { get { return MemView.MemorySize; } set { MemView.MemorySize = value; } }
36          #endregion
37      }
38   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines