1/* 2 * Copyright 2012-2014, Rene Gollent, rene@gollent.com. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef CLI_DUMP_MEMORY_COMMAND_H 6#define CLI_DUMP_MEMORY_COMMAND_H 7 8 9#include "CliCommand.h" 10 11#include <String.h> 12 13 14class SourceLanguage; 15 16 17class CliDumpMemoryCommand : public CliCommand { 18public: 19 CliDumpMemoryCommand(int itemSize, 20 const char* itemSizeNoun, 21 int displayWidth); 22 virtual ~CliDumpMemoryCommand(); 23 24 virtual void Execute(int argc, const char* const* argv, 25 CliContext& context); 26 27private: 28 SourceLanguage* fLanguage; 29 BString fSummaryString; 30 BString fUsageString; 31 int itemSize; 32 int displayWidth; 33}; 34 35 36#endif // CLI_DUMP_MEMORY_COMMAND_H 37