/[RomCheater]/trunk/RomCheater.CorePlugins/Config/GenericConfig.cs
ViewVC logotype

Diff of /trunk/RomCheater.CorePlugins/Config/GenericConfig.cs

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

revision 85 by william, Wed May 9 17:48:15 2012 UTC revision 86 by william, Wed May 9 19:41:06 2012 UTC
# Line 9  namespace RomCheater.CorePlugins.Config Line 9  namespace RomCheater.CorePlugins.Config
9  {  {
10      public sealed class GenericConfig : ConfigPlugin      public sealed class GenericConfig : ConfigPlugin
11      {      {
12          public GenericConfig() : base() { }          public GenericConfig()
13                : base()
14            {
15                init();
16            }
17    
18          private void init()          private void init()
19          {          {
             this.ValidProcessesForPlugin = new List<Process>();  
   
20              Process[] procs = Process.GetProcesses();              Process[] procs = Process.GetProcesses();
21              this.ValidProcessesForPlugin = new List<Process>(procs);              this.ValidProcessesForPlugin = new List<Process>(procs);
22                Guid t = this.Id;
23          }          }
24          #region IPluginBase Members          #region IPluginBase Members
25            public override Guid Id
26            {
27                get
28                {
29                    return new GuidGenerator(typeof(GenericConfig).FullName).Guid;
30                }
31            }
32          public override string Name          public override string Name
33          {          {
34              get { return "Generic Configuration Plugin"; }              get { return "Generic Configuration Plugin"; }

Legend:
Removed from v.85  
changed lines
  Added in v.86

  ViewVC Help
Powered by ViewVC 1.1.22