ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.CorePlugins/Config/GenericConfig.cs
(Generate patch)

Comparing trunk/RomCheater.CorePlugins/Config/GenericConfig.cs (file contents):
Revision 83 by william, Wed May 9 17:48:15 2012 UTC vs.
Revision 88 by william, Wed May 9 20:52:20 2012 UTC

--- 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.Linq;
 using System.Text;
 using RomCheater.PluginFramework.Core;
 using System.Diagnostics;
+using System.Security.Principal;
 
 namespace RomCheater.CorePlugins.Config
 {
@@ -11,14 +12,16 @@ namespace RomCheater.CorePlugins.Config
     {
         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"; }