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 86 by william, Wed May 9 19:41:06 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   {
11      public sealed class GenericConfig : ConfigPlugin
12      {
13 <        public GenericConfig()
13 <            : base()
14 <        {
15 <            init();
16 <        }
13 >        public GenericConfig() : base() { }
14  
15 <        private void init()
16 <        {
20 <            Process[] procs = Process.GetProcesses();
21 <            this.ValidProcessesForPlugin = new List<Process>(procs);
22 <            Guid t = this.Id;
23 <        }
15 >
16 >        protected override bool IsNotValidProcess(ProcContainer p) { return false; }
17          #region IPluginBase Members
18          public override Guid Id
19          {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines