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

# Line 2 | Line 2
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
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 +        #endregion
20 +        public override string ToString()
21 +        {
22 +            return string.Format("{0} [{1}]", Name, Id.ToString());
23 +        }
24      }
25   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines