mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 22:17:31 +00:00
mode: move responsabilities from mode to modehandler
- Pass the following responsabilities from mode to mode handler: - active / deactive target mode - get active mode - create new modes - Move back setting averaging mode when settings are updated using getModes() method instead of handling logic in mode handler.
This commit is contained in:
parent
f56e32488e
commit
2fbe6e84be
17 changed files with 142 additions and 126 deletions
|
|
@ -42,6 +42,7 @@ public:
|
|||
|
||||
Ui::MainWindow *getUi() const;
|
||||
QStackedWidget *getCentral() const;
|
||||
ModeHandler* getModeHandler() const;
|
||||
Device*&getDevice();
|
||||
|
||||
const QString& getAppVersion() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue