/[RomCheater]/trunk/RomCheater.CorePlugins/Config/GenericConfig.cs
ViewVC logotype

Annotation of /trunk/RomCheater.CorePlugins/Config/GenericConfig.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86 - (hide annotations) (download)
Wed May 9 19:41:06 2012 UTC (9 years, 5 months ago) by william
File size: 1083 byte(s)
+ add support to set plugins in user settings

1 william 81 using System;
2     using System.Collections.Generic;
3     using System.Linq;
4     using System.Text;
5     using RomCheater.PluginFramework.Core;
6 william 83 using System.Diagnostics;
7 william 81
8     namespace RomCheater.CorePlugins.Config
9     {
10 william 83 public sealed class GenericConfig : ConfigPlugin
11 william 81 {
12 william 86 public GenericConfig()
13     : base()
14     {
15     init();
16     }
17 william 83
18     private void init()
19     {
20     Process[] procs = Process.GetProcesses();
21     this.ValidProcessesForPlugin = new List<Process>(procs);
22 william 86 Guid t = this.Id;
23 william 83 }
24     #region IPluginBase Members
25 william 86 public override Guid Id
26     {
27     get
28     {
29     return new GuidGenerator(typeof(GenericConfig).FullName).Guid;
30     }
31     }
32 william 83 public override string Name
33     {
34     get { return "Generic Configuration Plugin"; }
35     }
36     public override string Description
37     {
38     get { return "This plugin provides a generic configuration"; }
39     }
40     #endregion
41 william 81 }
42     }

  ViewVC Help
Powered by ViewVC 1.1.22