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

Comparing trunk/RomCheater.CorePlugins/Config/GenericConfig.cs (file contents):
Revision 81 by william, Wed May 9 17:17:19 2012 UTC vs.
Revision 83 by william, Wed May 9 17:48:15 2012 UTC

# Line 3 | Line 3 | using System.Collections.Generic;
3   using System.Linq;
4   using System.Text;
5   using RomCheater.PluginFramework.Core;
6 + using System.Diagnostics;
7  
8   namespace RomCheater.CorePlugins.Config
9   {
10 <    public class GenericConfig : ConfigPlugin
10 >    public sealed class GenericConfig : ConfigPlugin
11      {
12          public GenericConfig() : base() { }
13 +
14 +        private void init()
15 +        {
16 +            this.ValidProcessesForPlugin = new List<Process>();
17 +
18 +            Process[] procs = Process.GetProcesses();
19 +            this.ValidProcessesForPlugin = new List<Process>(procs);
20 +        }
21 +        #region IPluginBase Members
22 +        public override string Name
23 +        {
24 +            get { return "Generic Configuration Plugin"; }
25 +        }
26 +        public override string Description
27 +        {
28 +            get { return "This plugin provides a generic configuration"; }
29 +        }
30 +        #endregion
31      }
32   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines