... compiled!
This commit is contained in:
@@ -23,12 +23,17 @@ int main()
|
||||
|
||||
std::error_code err;
|
||||
|
||||
std::ofstream fst("/tmp/cfg.cfg");
|
||||
fst << asibfm700::Asibfm700MountConfigString;
|
||||
fst.close();
|
||||
// std::ofstream fst("/tmp/cfg.cfg");
|
||||
// fst << asibfm700::Asibfm700MountConfigString;
|
||||
// fst.close();
|
||||
|
||||
bool ok = asibfm700::Asibfm700MountConfig::dumpDefaults("/tmp/cfg.cfg");
|
||||
if (!ok) {
|
||||
std::cerr << "Cannot dump default configuration!\n";
|
||||
exit(10);
|
||||
}
|
||||
|
||||
asibfm700::Asibfm700MountConfig acfg;
|
||||
// asibfm700::Asibfm700MountConfig2 acfg;
|
||||
|
||||
auto ec = acfg.load("/tmp/cfg.cfg");
|
||||
std::cout << "EC (load) = " << ec.message() << "\n";
|
||||
|
||||
Reference in New Issue
Block a user