tool/CommandUpload.h
changeset 1142 59be91dfcbe1
child 1184 75cd6681eb08
equal deleted inserted replaced
1141:7ffbca63fc72 1142:59be91dfcbe1
       
     1 /*****************************************************************************
       
     2  *
       
     3  * $Id$
       
     4  *
       
     5  ****************************************************************************/
       
     6 
       
     7 #ifndef __COMMANDUPLOAD_H__
       
     8 #define __COMMANDUPLOAD_H__
       
     9 
       
    10 #include "Command.h"
       
    11 
       
    12 /****************************************************************************/
       
    13 
       
    14 class CommandUpload:
       
    15     public Command
       
    16 {
       
    17     public:
       
    18         CommandUpload();
       
    19 
       
    20         string helpString() const;
       
    21         void execute(MasterDevice &, const StringVector &);
       
    22 
       
    23     protected:
       
    24 		enum {DefaultBufferSize = 1024};
       
    25 
       
    26         static void printRawData(const uint8_t *, unsigned int);
       
    27 };
       
    28 
       
    29 /****************************************************************************/
       
    30 
       
    31 #endif