ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.PluginFramework/Core/PluginBase.cs
Revision: 87
Committed: Wed May 9 19:51:42 2012 UTC (10 years, 3 months ago) by william
File size: 700 byte(s)
Log Message:
+ add support for loading and saving config plugins

File Contents

# User Rev Content
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 86 public abstract Guid Id { get; }
17 william 83 public abstract string Name { get; }
18     public abstract string Description { get; }
19     #endregion
20 william 86 public override string ToString()
21     {
22 william 87 return string.Format("{0} [{1}]", Name, Id.ToString());
23 william 86 }
24 william 79 }
25     }