/[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

--- trunk/RomCheater.CorePlugins/Config/GenericConfig.cs	2012/05/09 19:41:06	86
+++ trunk/RomCheater.CorePlugins/Config/GenericConfig.cs	2012/05/27 23:05:18	147
@@ -4,25 +4,22 @@
 using System.Text;
 using RomCheater.PluginFramework.Core;
 using System.Diagnostics;
+using System.Security.Principal;
+using RomCheater.Logging;
 
 namespace RomCheater.CorePlugins.Config
 {
     public sealed class GenericConfig : ConfigPlugin
     {
-        public GenericConfig()
-            : base()
+        public GenericConfig() : base() { }
+        public GenericConfig(bool doinit) : base(doinit) { }
+        protected override bool IsNotValidProcess(ProcContainer p)
         {
-            init();
-        }
-
-        private void init()
-        {
-            Process[] procs = Process.GetProcesses();
-            this.ValidProcessesForPlugin = new List<Process>(procs);
-            Guid t = this.Id;
+            logger.VerboseDebug.WriteLine("    Allowing process {0} to be added", p.Name);
+            return false;
         }
         #region IPluginBase Members
-        public override Guid Id
+        public override Guid ID
         {
             get
             {

 

  ViewVC Help
Powered by ViewVC 1.1.22