MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / loadDefaults

Function loadDefaults

core/src/options.cpp:8–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6 CMDLineOptions opts;
7
8 void loadDefaults() {
9#ifdef _WIN32
10 opts.root = ".";
11 opts.showConsole = false;
12#else
13 std::string homedir = getenv("HOME");
14 opts.root = homedir + "/.config/sdrpp";
15#endif
16 }
17
18 bool parse(int argc, char *argv[]) {
19 for (int i = 1; i < argc; i++) {

Callers 1

sdrpp_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected