-
Notifications
You must be signed in to change notification settings - Fork 26
/
CommandHelp.h
41 lines (30 loc) · 927 Bytes
/
CommandHelp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
GPU plot generator for Burst coin.
Author: Cryo
Bitcoin: 138gMBhCrNkbaiTCmUhP9HLU9xwn5QKZgD
Burst: BURST-YA29-QCEW-QXC3-BKXDL
Based on the code of the official miner and dcct's plotgen.
*/
#ifndef CRYO_GPU_PLOT_GENERATOR_COMMAND_HELP_H
#define CRYO_GPU_PLOT_GENERATOR_COMMAND_HELP_H
#include <string>
#include <vector>
#include <map>
#include <memory>
#include "Command.h"
namespace cryo {
namespace gpuPlotGenerator {
class CommandHelp : public cryo::gpuPlotGenerator::Command {
public:
typedef std::map<std::string, std::shared_ptr<cryo::gpuPlotGenerator::Command>> CommandsMap;
private:
const CommandsMap& m_commands;
public:
CommandHelp(const CommandsMap& p_commands);
CommandHelp(const CommandHelp& p_command);
virtual ~CommandHelp() throw ();
virtual void help() const;
virtual int execute(const std::vector<std::string>& p_args);
};
}}
#endif