| 3087 | } |
| 3088 | |
| 3089 | void AppFrame::toggleActiveDemodRecording() { |
| 3090 | if (!wxGetApp().getConfig()->verifyRecordingPath()) { |
| 3091 | return; |
| 3092 | } |
| 3093 | |
| 3094 | DemodulatorInstancePtr activeDemod = wxGetApp().getDemodMgr().getActiveContextModem(); |
| 3095 | |
| 3096 | if (activeDemod) { |
| 3097 | activeDemod->setRecording(!activeDemod->isRecording()); |
| 3098 | wxGetApp().getBookmarkMgr().updateActiveList(); |
| 3099 | } |
| 3100 | } |
| 3101 | |
| 3102 | void AppFrame::toggleAllActiveDemodRecording() { |
| 3103 | if (!wxGetApp().getConfig()->verifyRecordingPath()) { |
nothing calls this directly
no test coverage detected