LibreVNA/Software/PC_Application/Generator/generator.h

24 lines
515 B
C
Raw Normal View History

#ifndef GENERATOR_H
#define GENERATOR_H
#include "mode.h"
#include "signalgenwidget.h"
class Generator : public Mode
{
public:
Generator(AppWindow *window);
void deactivate() override;
void initializeDevice() override;
2020-12-05 06:49:52 +08:00
// Nothing to do for now
virtual nlohmann::json toJSON() override {return nlohmann::json();};
virtual void fromJSON(nlohmann::json j) override {Q_UNUSED(j)};
private slots:
void updateDevice();
private:
SignalgeneratorWidget *central;
};
#endif // GENERATOR_H