ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.PluginFramework/Core/PluginBase.cs
Revision: 329
Committed: Thu Jun 7 19:18:31 2012 UTC (10 years, 5 months ago) by william
File size: 808 byte(s)
Log Message:
+ add more logic for auto process refresh

File Contents

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