ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Docking/FloatingRamDumperDialog.cs
(Generate patch)

Comparing trunk/RomCheater/Docking/FloatingRamDumperDialog.cs (file contents):
Revision 152 by william, Sun May 27 23:33:54 2012 UTC vs.
Revision 153 by william, Mon May 28 02:20:29 2012 UTC

# Line 7 | Line 7 | using System.Linq;
7   using System.Text;
8   using System.Windows.Forms;
9   using WeifenLuo.WinFormsUI.Docking;
10 + using RomCheater.PluginFramework.Interfaces;
11 + using System.Diagnostics;
12  
13   namespace RomCheater.Docking
14   {
15 <    public partial class FloatingRamDumperDialog : DockContent
15 >    public partial class FloatingRamDumperDialog : DockContent, IProcessConfig
16      {
17 <        public FloatingRamDumperDialog()
18 <        {
19 <            InitializeComponent();
20 <        }
17 >        public FloatingRamDumperDialog() { InitializeComponent(); this.AcceptedPlugin = null; this.AcceptedProcess = null; }
18 >        public FloatingRamDumperDialog(IConfigPlugin config) : this() { this.AcceptedPlugin = config; }
19 >        public FloatingRamDumperDialog(IConfigPlugin config, Process process) : this() { this.AcceptedPlugin = config; this.AcceptedProcess = process; }
20 >        
21 >        //public IConfigPlugin AcceptedPlugin { get; set; }
22 >        //public Process AcceptedProcess { get; set; }
23  
24          private void FloatingRamDumperDialog_Load(object sender, EventArgs e)
25          {
26              txtStart.Value = 0;
27              txtEnd.Value = int.MaxValue;
28          }
29 +
30 +
31 +        #region IProcessConfig Members'
32 +        public Process AcceptedProcess { get; set; }
33 +        #endregion
34 +        #region IAcceptsPlugin<IConfigPlugin> Members
35 +        public IConfigPlugin AcceptedPlugin { get; set; }
36 +        #endregion
37      }
38   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines