/[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/05 08:52:07	287
+++ trunk/RomCheater/Docking/FloatingMemoryView.cs	2013/06/17 09:31:52	686
@@ -7,9 +7,11 @@
 using System.Text;
 using System.Windows.Forms;
 using WeifenLuo.WinFormsUI.Docking;
-using RomCheater.PluginFramework.Interfaces;
+
 using RomCheater.PluginFramework.Events;
 using System.Diagnostics;
+using Sojaner.MemoryScanner;
+using RomCheater.Core;
 
 namespace RomCheater.Docking
 {
@@ -18,7 +20,8 @@
         IAcceptsProcess<Process>,
         IAcceptsProcessAndConfig, 
         IBrowseMemoryRegion,
-        IAcceptsMemoryRange
+        IAcceptsMemoryRange,
+        IAcceptPEData
     {
         public FloatingMemoryView() { 
             InitializeComponent(); 
@@ -36,12 +39,16 @@
         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 MemoryRangeSize { get { return MemView.MemoryRangeSize; } set { MemView.MemoryRangeSize = value; } } // set is empty in MemView, placed here incase it changes
+        public ulong MemoryRangeStart { get { return MemView.MemoryRangeStart; } set { MemView.MemoryRangeStart = value; } } // set is empty in MemView, placed here incase it changes
+        public ulong 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(ulong MemoryRegion) { return MemView.BrowseMemoryRegion(MemoryRegion); }
+        #endregion
+
+        #region IAcceptPEData members
+        public void SetPEViewerData(IPEDData peData) { MemView.SetPEViewerData(peData); }
         #endregion
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22