tool/CommandSiiRead.h
author Florian Pose <fp@igh-essen.com>
Thu, 09 Oct 2008 09:00:48 +0000
changeset 1250 642048176899
parent 1142 59be91dfcbe1
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 __COMMANDSIIREAD_H__
#define __COMMANDSIIREAD_H__

#include "Command.h"

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

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

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

    protected:
		struct CategoryName {
			uint16_t type;
			const char *name;
		};
		static const CategoryName categoryNames[];
		static const char *getCategoryName(uint16_t);
};

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

#endif