/[RomCheater]/trunk/RomCheater/Docking/FloatingMemoryView.cs
ViewVC logotype

Annotation of /trunk/RomCheater/Docking/FloatingMemoryView.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 686 - (hide annotations) (download)
Mon Jun 17 09:31:52 2013 UTC (8 years ago) by william
File size: 2333 byte(s)
+ massive move of source files

1 william 196 using System;
2     using System.Collections.Generic;
3     using System.ComponentModel;
4     using System.Data;
5     using System.Drawing;
6     using System.Linq;
7     using System.Text;
8     using System.Windows.Forms;
9     using WeifenLuo.WinFormsUI.Docking;
10 william 686
11 william 196 using RomCheater.PluginFramework.Events;
12     using System.Diagnostics;
13 william 323 using Sojaner.MemoryScanner;
14 william 686 using RomCheater.Core;
15 william 196
16     namespace RomCheater.Docking
17     {
18 william 243 public partial class FloatingMemoryView : DockContent,
19     IAcceptsPlugin<IConfigPlugin>,
20 william 477 IAcceptsProcess<Process>,
21 william 287 IAcceptsProcessAndConfig,
22     IBrowseMemoryRegion,
23 william 323 IAcceptsMemoryRange,
24     IAcceptPEData
25 william 196 {
26 william 198 public FloatingMemoryView() {
27     InitializeComponent();
28     this.AcceptedPlugin = null;
29 william 477 this.AcceptedProcess = null;
30 william 201 //this.MemoryStart = uint.MinValue;
31     //this.MemorySize = uint.MaxValue;
32 william 198 }
33 william 196 public FloatingMemoryView(IConfigPlugin config) : this() { this.AcceptedPlugin = config; }
34 william 477 public FloatingMemoryView(IConfigPlugin config, Process process) : this() { this.AcceptedPlugin = config; this.AcceptedProcess = process; }
35 william 237 #region IAcceptsProcess<Process> Members
36 william 477 public Process AcceptedProcess { get { return MemView.AcceptedProcess; } set { MemView.AcceptedProcess = value; } }
37 william 196 #endregion
38     #region IAcceptsPlugin<IConfigPlugin> Members
39 william 198 public IConfigPlugin AcceptedPlugin { get { return MemView.AcceptedPlugin; } set { MemView.AcceptedPlugin = value; } }
40 william 196 #endregion
41 william 206 #region IAcceptsMemoryRange members
42 william 578 public ulong MemoryRangeStart { get { return MemView.MemoryRangeStart; } set { MemView.MemoryRangeStart = value; } } // set is empty in MemView, placed here incase it changes
43     public ulong MemoryRangeSize { get { return MemView.MemoryRangeSize; } set { MemView.MemoryRangeSize = value; } } // set is empty in MemView, placed here incase it changes
44 william 206 #endregion
45    
46 william 276 #region IBrowseMemoryRegion
47 william 578 public bool BrowseMemoryRegion(ulong MemoryRegion) { return MemView.BrowseMemoryRegion(MemoryRegion); }
48 william 206 #endregion
49 william 323
50     #region IAcceptPEData members
51 william 357 public void SetPEViewerData(IPEDData peData) { MemView.SetPEViewerData(peData); }
52 william 323 #endregion
53 william 196 }
54     }

  ViewVC Help
Powered by ViewVC 1.1.22