/[RomCheater]/trunk/RomCheater.PluginFramework/Core/PluginBase.cs
ViewVC logotype

Annotation of /trunk/RomCheater.PluginFramework/Core/PluginBase.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 329 - (hide annotations) (download)
Thu Jun 7 19:18:31 2012 UTC (8 years, 11 months ago) by william
File size: 808 byte(s)
+ add more logic for auto process refresh

1 william 79 using System;
2     using System.Collections.Generic;
3     using System.Linq;
4     using System.Text;
5 william 83 using RomCheater.PluginFramework.Interfaces;
6 william 79
7     namespace RomCheater.PluginFramework.Core
8     {
9     /// <summary>
10     /// The base class for all plugins
11     /// </summary>
12 william 83 public abstract class PluginBase : IPluginBase
13 william 79 {
14 william 86 public PluginBase() { }
15 william 83 #region IPluginBase Members
16 william 94 public abstract Guid ID { get; }
17 william 83 public abstract string Name { get; }
18     public abstract string Description { get; }
19 william 329 public virtual void Reload() { Reload(false); }
20     public abstract void Reload(bool silent);
21 william 83 #endregion
22 william 86 public override string ToString()
23     {
24 william 94 return string.Format("{0} [{1}]", Name, ID.ToString());
25 william 86 }
26 william 79 }
27     }

  ViewVC Help
Powered by ViewVC 1.1.22