/[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 22:31:56	94
@@ -4,21 +4,24 @@
 using System.Text;
 using RomCheater.PluginFramework.Core;
 using System.Diagnostics;
+using System.Security.Principal;
 
 namespace RomCheater.CorePlugins.Config
 {
     public sealed class GenericConfig : ConfigPlugin
     {
         public GenericConfig() : base() { }
+        public GenericConfig(bool doinit) : base(doinit) { }
 
-        private void init()
+        protected override bool IsNotValidProcess(ProcContainer p) { return false; }
+        #region IPluginBase Members
+        public override Guid ID
         {
-            this.ValidProcessesForPlugin = new List<Process>();
-
-            Process[] procs = Process.GetProcesses();
-            this.ValidProcessesForPlugin = new List<Process>(procs);
+            get
+            {
+                return new GuidGenerator(typeof(GenericConfig).FullName).Guid;
+            }
         }
-        #region IPluginBase Members
         public override string Name
         {
             get { return "Generic Configuration Plugin"; }

 

  ViewVC Help
Powered by ViewVC 1.1.22