/[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 83 by william, Wed May 9 17:48:15 2012 UTC revision 94 by william, Wed May 9 22:31:56 2012 UTC
# Line 4  using System.Linq; Line 4  using System.Linq;
4  using System.Text;  using System.Text;
5  using RomCheater.PluginFramework.Core;  using RomCheater.PluginFramework.Core;
6  using System.Diagnostics;  using System.Diagnostics;
7    using System.Security.Principal;
8    
9  namespace RomCheater.CorePlugins.Config  namespace RomCheater.CorePlugins.Config
10  {  {
11      public sealed class GenericConfig : ConfigPlugin      public sealed class GenericConfig : ConfigPlugin
12      {      {
13          public GenericConfig() : base() { }          public GenericConfig() : base() { }
14            public GenericConfig(bool doinit) : base(doinit) { }
15    
16          private void init()          protected override bool IsNotValidProcess(ProcContainer p) { return false; }
17            #region IPluginBase Members
18            public override Guid ID
19          {          {
20              this.ValidProcessesForPlugin = new List<Process>();              get
21                {
22              Process[] procs = Process.GetProcesses();                  return new GuidGenerator(typeof(GenericConfig).FullName).Guid;
23              this.ValidProcessesForPlugin = new List<Process>(procs);              }
24          }          }
         #region IPluginBase Members  
25          public override string Name          public override string Name
26          {          {
27              get { return "Generic Configuration Plugin"; }              get { return "Generic Configuration Plugin"; }

Legend:
Removed from v.83  
changed lines
  Added in v.94

  ViewVC Help
Powered by ViewVC 1.1.22