/[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 86 by william, Wed May 9 19:41:06 2012 UTC revision 147 by william, Sun May 27 23:05:18 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    using RomCheater.Logging;
9    
10  namespace RomCheater.CorePlugins.Config  namespace RomCheater.CorePlugins.Config
11  {  {
12      public sealed class GenericConfig : ConfigPlugin      public sealed class GenericConfig : ConfigPlugin
13      {      {
14          public GenericConfig()          public GenericConfig() : base() { }
15              : base()          public GenericConfig(bool doinit) : base(doinit) { }
16            protected override bool IsNotValidProcess(ProcContainer p)
17          {          {
18              init();              logger.VerboseDebug.WriteLine("    Allowing process {0} to be added", p.Name);
19          }              return false;
   
         private void init()  
         {  
             Process[] procs = Process.GetProcesses();  
             this.ValidProcessesForPlugin = new List<Process>(procs);  
             Guid t = this.Id;  
20          }          }
21          #region IPluginBase Members          #region IPluginBase Members
22          public override Guid Id          public override Guid ID
23          {          {
24              get              get
25              {              {

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

  ViewVC Help
Powered by ViewVC 1.1.22