tool/CommandUpload.h
author Florian Pose <fp@igh-essen.com>
Mon, 28 Jul 2008 11:29:28 +0000
changeset 1157 04d1c950cf9d
parent 1142 59be91dfcbe1
child 1184 75cd6681eb08
permissions -rw-r--r--
Added --help for alias and position parameters.
/*****************************************************************************
 *
 * $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