SDRPlusPlus/core/src/options.h

15 lines
265 B
C
Raw Normal View History

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