Files
SDRPlusPlus/core/src/options.h
2022-01-21 20:22:13 +01:00

18 lines
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[]);
}