/[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 147 - (hide annotations) (download)
Sun May 27 23:05:18 2012 UTC (9 years ago) by william
File size: 1154 byte(s)

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 88 using System.Security.Principal;
8 william 98 using RomCheater.Logging;
9 william 81
10     namespace RomCheater.CorePlugins.Config
11     {
12 william 83 public sealed class GenericConfig : ConfigPlugin
13 william 81 {
14 william 88 public GenericConfig() : base() { }
15 william 92 public GenericConfig(bool doinit) : base(doinit) { }
16 william 147 protected override bool IsNotValidProcess(ProcContainer p)
17 william 98 {
18 william 99 logger.VerboseDebug.WriteLine(" Allowing process {0} to be added", p.Name);
19 william 147 return false;
20 william 98 }
21 william 83 #region IPluginBase Members
22 william 94 public override Guid ID
23 william 86 {
24     get
25     {
26     return new GuidGenerator(typeof(GenericConfig).FullName).Guid;
27     }
28     }
29 william 83 public override string Name
30     {
31     get { return "Generic Configuration Plugin"; }
32     }
33     public override string Description
34     {
35     get { return "This plugin provides a generic configuration"; }
36     }
37     #endregion
38 william 81 }
39     }

  ViewVC Help
Powered by ViewVC 1.1.22