You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
515 B

#ifndef CONSOLE_H
#define CONSOLE_H
#include <QObject>
#include "ButtonHelper.h"
#include "FunctionCodes.h"
#include "PushButton.h"
#include "RotayButton.h"
#include "DataSender.h"
class Console : public QObject
{
Q_OBJECT
PUSH_BUTTON(Dual, dual, DUAL_FC, static_cast<char>(DUAL_LED_FC));
PUSH_BUTTON(Quad, quad, QUAD_FC, static_cast<char>(QUAD_LED_FC));
private:
DataSender* _dataSender;
public:
Console();
void injectDataSender(DataSender* sender);
};
#endif //CONSOLE_H