rewrite to use of the new implementation of mount config

(asibfm700_config.h: Asibfm700MountConfiguration class)
This commit is contained in:
2026-06-02 12:07:23 +03:00
parent a984f77351
commit 64db29704d
5 changed files with 78 additions and 27 deletions

View File

@@ -64,12 +64,17 @@ int main(int argc, char* argv[])
return 0;
}
asibfm700::Asibfm700MountConfig mount_cfg;
// asibfm700::Asibfm700MountConfig mount_cfg;
asibfm700::Asibfm700MountConfiguration mount_cfg;
std::string fname = opt_result["dump"].as<std::string>();
if (fname.size()) {
bool ok = mount_cfg.dumpDefaultsToFile(fname);
if (!ok) {
// bool ok = mount_cfg.dumpDefaultsToFile(fname);
// if (!ok) {
// return 255;
// }
auto err = mount_cfg.dumpDefaultsToFile(fname);
if (!err) {
return 255;
}