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

# Line 4 | Line 4 | using System.Linq;
4   using System.Text;
5   using RomCheater.PluginFramework.Core;
6   using System.Diagnostics;
7 + using System.Security.Principal;
8  
9   namespace RomCheater.CorePlugins.Config
10   {
# Line 11 | Line 12 | namespace RomCheater.CorePlugins.Config
12      {
13          public GenericConfig() : base() { }
14  
14        private void init()
15        {
16            this.ValidProcessesForPlugin = new List<Process>();
15  
16 <            Process[] procs = Process.GetProcesses();
19 <            this.ValidProcessesForPlugin = new List<Process>(procs);
20 <        }
16 >        protected override bool IsNotValidProcess(ProcContainer p) { return false; }
17          #region IPluginBase Members
18 +        public override Guid Id
19 +        {
20 +            get
21 +            {
22 +                return new GuidGenerator(typeof(GenericConfig).FullName).Guid;
23 +            }
24 +        }
25          public override string Name
26          {
27              get { return "Generic Configuration Plugin"; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines