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 |
|
{ |
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"; } |