kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
18 wiersze
346 B
C++
18 wiersze
346 B
C++
#pragma once
|
|
#include <string>
|
|
#include <module.h>
|
|
|
|
namespace options {
|
|
struct CMDLineOptions {
|
|
std::string root;
|
|
bool showConsole;
|
|
bool serverMode;
|
|
std::string serverHost;
|
|
int serverPort;
|
|
};
|
|
|
|
SDRPP_EXPORT CMDLineOptions opts;
|
|
|
|
void loadDefaults();
|
|
bool parse(int argc, char* argv[]);
|
|
} |