diff -r 7ffbca63fc72 -r 59be91dfcbe1 tool/CommandUpload.h --- /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