19 lines
377 B
C++
19 lines
377 B
C++
#ifndef MCPINGER_CLI_PARSER_H
|
|
#define MCPINGER_CLI_PARSER_H
|
|
|
|
#include <string>
|
|
|
|
struct config {
|
|
std::string hostname;
|
|
std::string virtualHostname;
|
|
int port = 25565;
|
|
int virtualPort = 25565;
|
|
int protocolVersion = -1;
|
|
int nextState = 1;
|
|
|
|
void parseCommandLine(int argc, char* argv[]);
|
|
static void printHelp() ;
|
|
};
|
|
|
|
#endif // MCPINGER_CLI_PARSER_H
|