view Commands/Command.cs @ 4:f9ec2be467fe

Fixes #3 - Migrate control translation out of IBBoard utils * Delete control translation functions (now in IBBoard.Windows.Forms) * Remove reference to System.Windows.Forms * Make sure .csproj file contains all required files
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Dec 2008 18:44:35 +0000
parents 961030992bd2
children 0352fa33ee8f
line wrap: on
line source

using System;

namespace IBBoard.Commands
{
	/// <summary>
	/// Summary description for Command.
	/// </summary>
	public abstract class Command
	{
		public Command()
		{
		}

		public abstract bool CanExecute();
		public abstract bool Execute();
		public abstract void Undo();
		public abstract void Redo();
		public abstract string Name { get; }
		public abstract string Description { get; }
		public abstract string UndoDescription { get; }
	}
}