tool/CommandRegRead.h
changeset 1389 5b392b22a2da
parent 1388 3c886ec376f5
child 1826 ec6223c3b7ec
--- a/tool/CommandRegRead.h	Wed Apr 08 12:48:59 2009 +0000
+++ b/tool/CommandRegRead.h	Wed Apr 08 14:10:34 2009 +0000
@@ -30,26 +30,18 @@
 #ifndef __COMMANDREGREAD_H__
 #define __COMMANDREGREAD_H__
 
-#include "Command.h"
+#include "CommandReg.h"
 
 /****************************************************************************/
 
 class CommandRegRead:
-    public Command
+    public CommandReg
 {
     public:
         CommandRegRead();
 
         string helpString() const;
         void execute(MasterDevice &, const StringVector &);
-
-    private:
-        struct DataType {
-            const char *name;
-            unsigned int byteSize;
-        };
-        static const DataType dataTypes[];
-        static const DataType *findDataType(const string &);
 };
 
 /****************************************************************************/