2020-12-15 22:05:11 +00:00
|
|
|
#pragma once
|
|
|
|
#include <string>
|
2020-12-22 19:00:51 +00:00
|
|
|
#include <module.h>
|
2020-12-15 22:05:11 +00:00
|
|
|
|
|
|
|
namespace options {
|
|
|
|
struct CMDLineOptions {
|
|
|
|
std::string root;
|
2021-02-06 20:28:27 +00:00
|
|
|
bool showConsole;
|
2021-07-23 04:29:16 +00:00
|
|
|
bool serverMode;
|
2020-12-15 22:05:11 +00:00
|
|
|
};
|
|
|
|
|
2020-12-22 13:50:26 +00:00
|
|
|
SDRPP_EXPORT CMDLineOptions opts;
|
2020-12-15 22:05:11 +00:00
|
|
|
|
2020-12-22 13:50:26 +00:00
|
|
|
void loadDefaults();
|
2021-12-19 21:11:44 +00:00
|
|
|
bool parse(int argc, char* argv[]);
|
2020-12-22 13:50:26 +00:00
|
|
|
}
|