ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.PluginFramework/Core/PluginBase.cs
(Generate patch)

Comparing trunk/RomCheater.PluginFramework/Core/PluginBase.cs (file contents):
Revision 79 by william, Wed May 9 17:15:33 2012 UTC vs.
Revision 87 by william, Wed May 9 19:51:42 2012 UTC

--- trunk/RomCheater.PluginFramework/Core/PluginBase.cs	2012/05/09 17:15:33	79
+++ trunk/RomCheater.PluginFramework/Core/PluginBase.cs	2012/05/09 19:51:42	87
@@ -2,13 +2,24 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
+using RomCheater.PluginFramework.Interfaces;
 
 namespace RomCheater.PluginFramework.Core
 {
     /// <summary>
     /// The base class for all plugins
     /// </summary>
-    public abstract class PluginBase
+    public abstract class PluginBase : IPluginBase
     {
+        public PluginBase() { }
+        #region IPluginBase Members
+        public abstract Guid Id { get; }
+        public abstract string Name { get; }
+        public abstract string Description { get; }
+        #endregion
+        public override string ToString()
+        {
+            return string.Format("{0} [{1}]", Name, Id.ToString());
+        }
     }
 }