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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 686 - (show 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 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
11 using RomCheater.PluginFramework.Events;
12 using System.Diagnostics;
13 using Sojaner.MemoryScanner;
14 using RomCheater.Core;
15
16 namespace RomCheater.Docking
17 {
18 public partial class FloatingMemoryView : DockContent,
19 IAcceptsPlugin<IConfigPlugin>,
20 IAcceptsProcess<Process>,
21 IAcceptsProcessAndConfig,
22 IBrowseMemoryRegion,
23 IAcceptsMemoryRange,
24 IAcceptPEData
25 {
26 public FloatingMemoryView() {
27 InitializeComponent();
28 this.AcceptedPlugin = null;
29 this.AcceptedProcess = null;
30 //this.MemoryStart = uint.MinValue;
31 //this.MemorySize = uint.MaxValue;
32 }
33 public FloatingMemoryView(IConfigPlugin config) : this() { this.AcceptedPlugin = config; }
34 public FloatingMemoryView(IConfigPlugin config, Process process) : this() { this.AcceptedPlugin = config; this.AcceptedProcess = process; }
35 #region IAcceptsProcess<Process> Members
36 public Process AcceptedProcess { get { return MemView.AcceptedProcess; } set { MemView.AcceptedProcess = value; } }
37 #endregion
38 #region IAcceptsPlugin<IConfigPlugin> Members
39 public IConfigPlugin AcceptedPlugin { get { return MemView.AcceptedPlugin; } set { MemView.AcceptedPlugin = value; } }
40 #endregion
41 #region IAcceptsMemoryRange members
42 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 #endregion
45
46 #region IBrowseMemoryRegion
47 public bool BrowseMemoryRegion(ulong MemoryRegion) { return MemView.BrowseMemoryRegion(MemoryRegion); }
48 #endregion
49
50 #region IAcceptPEData members
51 public void SetPEViewerData(IPEDData peData) { MemView.SetPEViewerData(peData); }
52 #endregion
53 }
54 }

  ViewVC Help
Powered by ViewVC 1.1.22