/[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 17:48:15	83
+++ trunk/RomCheater.CorePlugins/Config/GenericConfig.cs	2012/05/09 20:52:20	88
@@ -4,6 +4,7 @@
 using System.Text;
 using RomCheater.PluginFramework.Core;
 using System.Diagnostics;
+using System.Security.Principal;
 
 namespace RomCheater.CorePlugins.Config
 {
@@ -11,14 +12,16 @@
     {
         public GenericConfig() : base() { }
 
-        private void init()
-        {
-            this.ValidProcessesForPlugin = new List<Process>();
 
-            Process[] procs = Process.GetProcesses();
-            this.ValidProcessesForPlugin = new List<Process>(procs);
-        }
+        protected override bool IsNotValidProcess(ProcContainer p) { return false; }
         #region IPluginBase Members
+        public override Guid Id
+        {
+            get
+            {
+                return new GuidGenerator(typeof(GenericConfig).FullName).Guid;
+            }
+        }
         public override string Name
         {
             get { return "Generic Configuration Plugin"; }

 

  ViewVC Help
Powered by ViewVC 1.1.22