tool/CommandDomains.h
author Florian Pose <fp@igh-essen.com>
Thu, 09 Oct 2008 09:00:48 +0000
changeset 1250 642048176899
parent 1166 006244d53f68
child 1363 11c0b2caa253
permissions -rw-r--r--
Applied patch by Mario Witkowski to support the new class/device
interface from kernel 2.6.26.
/*****************************************************************************
 *
 * $Id$
 *
 ****************************************************************************/

#ifndef __COMMANDDOMAINS_H__
#define __COMMANDDOMAINS_H__

#include "Command.h"

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

class CommandDomains:
    public Command
{
    public:
        CommandDomains();

        string helpString() const;
        void execute(MasterDevice &, const StringVector &);

    protected:
		void showDomain(MasterDevice &, const ec_ioctl_domain_t &);
};

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

#endif