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 85 by william, Wed May 9 17:48:15 2012 UTC vs.
Revision 86 by william, Wed May 9 19:41:06 2012 UTC

--- trunk/RomCheater.CorePlugins/Config/GenericConfig.cs	2012/05/09 18:13:51	85
+++ trunk/RomCheater.CorePlugins/Config/GenericConfig.cs	2012/05/09 19:41:06	86
@@ -9,16 +9,26 @@ namespace RomCheater.CorePlugins.Config
 {
     public sealed class GenericConfig : ConfigPlugin
     {
-        public GenericConfig() : base() { }
+        public GenericConfig()
+            : base()
+        {
+            init();
+        }
 
         private void init()
         {
-            this.ValidProcessesForPlugin = new List<Process>();
-
             Process[] procs = Process.GetProcesses();
             this.ValidProcessesForPlugin = new List<Process>(procs);
+            Guid t = this.Id;
         }
         #region IPluginBase Members
+        public override Guid Id
+        {
+            get
+            {
+                return new GuidGenerator(typeof(GenericConfig).FullName).Guid;
+            }
+        }
         public override string Name
         {
             get { return "Generic Configuration Plugin"; }