Redesigned command interface.

This commit is contained in:
Florian Pose
2008-07-24 13:27:06 +00:00
parent 338bb8fb41
commit b83e94400e
39 changed files with 1812 additions and 1103 deletions

29
tool/CommandAlias.h Normal file
View File

@@ -0,0 +1,29 @@
/*****************************************************************************
*
* $Id$
*
****************************************************************************/
#ifndef __COMMANDALIAS_H__
#define __COMMANDALIAS_H__
#include "Command.h"
/****************************************************************************/
class CommandAlias:
public Command
{
public:
CommandAlias();
string helpString() const;
void execute(MasterDevice &, const StringVector &);
protected:
void writeSlaveAlias(MasterDevice &, uint16_t, uint16_t);
};
/****************************************************************************/
#endif