3 |
using System.Linq; |
using System.Linq; |
4 |
using System.Text; |
using System.Text; |
5 |
using RomCheater.PluginFramework.Core; |
using RomCheater.PluginFramework.Core; |
6 |
|
using System.Diagnostics; |
7 |
|
|
8 |
namespace RomCheater.CorePlugins.Config |
namespace RomCheater.CorePlugins.Config |
9 |
{ |
{ |
10 |
public class GenericConfig : ConfigPlugin |
public sealed class GenericConfig : ConfigPlugin |
11 |
{ |
{ |
12 |
public GenericConfig() : base() { } |
public GenericConfig() : base() { } |
13 |
|
|
14 |
|
private void init() |
15 |
|
{ |
16 |
|
this.ValidProcessesForPlugin = new List<Process>(); |
17 |
|
|
18 |
|
Process[] procs = Process.GetProcesses(); |
19 |
|
this.ValidProcessesForPlugin = new List<Process>(procs); |
20 |
|
} |
21 |
|
#region IPluginBase Members |
22 |
|
public override string Name |
23 |
|
{ |
24 |
|
get { return "Generic Configuration Plugin"; } |
25 |
|
} |
26 |
|
public override string Description |
27 |
|
{ |
28 |
|
get { return "This plugin provides a generic configuration"; } |
29 |
|
} |
30 |
|
#endregion |
31 |
} |
} |
32 |
} |
} |