xref: /haiku/src/apps/debugger/user_interface/cli/commands/CliDumpMemoryCommand.h (revision 44daad619ec6bb078495f799be78964d2bc6673e)
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 
14 class SourceLanguage;
15 
16 
17 class CliDumpMemoryCommand : public CliCommand {
18 public:
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 
27 private:
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