tool/CommandUpload.h
changeset 1142 59be91dfcbe1
child 1184 75cd6681eb08
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool/CommandUpload.h	Thu Jul 24 13:27:06 2008 +0000
@@ -0,0 +1,31 @@
+/*****************************************************************************
+ *
+ * $Id$
+ *
+ ****************************************************************************/
+
+#ifndef __COMMANDUPLOAD_H__
+#define __COMMANDUPLOAD_H__
+
+#include "Command.h"
+
+/****************************************************************************/
+
+class CommandUpload:
+    public Command
+{
+    public:
+        CommandUpload();
+
+        string helpString() const;
+        void execute(MasterDevice &, const StringVector &);
+
+    protected:
+		enum {DefaultBufferSize = 1024};
+
+        static void printRawData(const uint8_t *, unsigned int);
+};
+
+/****************************************************************************/
+
+#endif