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

Diff of /trunk/RomCheater/Docking/FloatingRamDumperDialog.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater/Docking/FloatingRamDumperDialog.cs	2012/05/28 02:01:34	152
+++ trunk/RomCheater/Docking/FloatingRamDumperDialog.cs	2012/05/28 02:20:29	153
@@ -7,20 +7,32 @@
 using System.Text;
 using System.Windows.Forms;
 using WeifenLuo.WinFormsUI.Docking;
+using RomCheater.PluginFramework.Interfaces;
+using System.Diagnostics;
 
 namespace RomCheater.Docking
 {
-    public partial class FloatingRamDumperDialog : DockContent
+    public partial class FloatingRamDumperDialog : DockContent, IProcessConfig
     {
-        public FloatingRamDumperDialog()
-        {
-            InitializeComponent();
-        }
+        public FloatingRamDumperDialog() { InitializeComponent(); this.AcceptedPlugin = null; this.AcceptedProcess = null; }
+        public FloatingRamDumperDialog(IConfigPlugin config) : this() { this.AcceptedPlugin = config; }
+        public FloatingRamDumperDialog(IConfigPlugin config, Process process) : this() { this.AcceptedPlugin = config; this.AcceptedProcess = process; }
+        
+        //public IConfigPlugin AcceptedPlugin { get; set; }
+        //public Process AcceptedProcess { get; set; }
 
         private void FloatingRamDumperDialog_Load(object sender, EventArgs e)
         {
             txtStart.Value = 0;
             txtEnd.Value = int.MaxValue;
         }
+
+
+        #region IProcessConfig Members'
+        public Process AcceptedProcess { get; set; }
+        #endregion
+        #region IAcceptsPlugin<IConfigPlugin> Members
+        public IConfigPlugin AcceptedPlugin { get; set; }
+        #endregion
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22