Open cboulay opened 6 years ago
I have a slightly different vision: the reader code should be separate from the GUI code so there's the GUI to change all the settings, start a recording etc. and a CLI that just loads a config file and starts the recording.
This needs:
In a perfect world, the CLI wouldn't depend on Qt and *deployqt, but having the reader subclass QObject would make logging, status messages etc. via signals and slots a lot easier.
Restructuring the app to further separate out device logic and GUI logic is fine. Having a CLI target is fine.
Both of these are orthogonal to having an autolink option in the GUI-based app.
At the end of load_config, something like the following:
Then the appropriate setting in the example cfg. This should probably default to
false
.