tool/CommandAlias.h
author Florian Pose <fp@igh-essen.com>
Wed, 05 Nov 2008 10:44:42 +0000
branchstable-1.4
changeset 1659 f04865a2454f
parent 1151 1fc1535dec29
child 1363 11c0b2caa253
permissions -rw-r--r--
merge -c1541 trunk: Userspace applications (excerpts).
/*****************************************************************************
 *
 * $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 &, const ec_ioctl_slave_t &,
                uint16_t);
};

/****************************************************************************/

#endif