1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
///////////////////////////////////////////////////////////////////////////////
// $Id: Command.hxx,v 1.1 1995/01/08 06:40:59 bmott Exp $
///////////////////////////////////////////////////////////////////////////////
//
// Command.hxx - Abstract base class for all commands
//
//
// Bradford W. Mott
// Copyright (C) 1994
// December 12,1994
//
///////////////////////////////////////////////////////////////////////////////
// $Log: Command.hxx,v $
// Revision 1.1 1995/01/08 06:40:59 bmott
// Initial revision
//
///////////////////////////////////////////////////////////////////////////////
#ifndef COMMAND_HXX
#define COMMAND_HXX
class Command {
protected:
// Protected constructor to prevent instantiation
Command() {};
public:
// Destructor
virtual ~Command() {};
// Execute my command
virtual void execute(void* argument) = 0;
};
#endif
|