首次提交
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#ifndef BackEnd_H
|
||||
#define BackEnd_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QMutex>
|
||||
#include <QTimer>
|
||||
#include <QKeyEvent>
|
||||
|
||||
class BackEnd : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QMap<QString, Qt::Key> mFunctionMap;
|
||||
bool match(QKeyEvent* e, const QString& function);
|
||||
static BackEnd* instance();
|
||||
int YsGetAfGain();
|
||||
void YsSetAfGain(int value);
|
||||
int YsGetRfGain();
|
||||
void YsSetRfGain(int value);
|
||||
qint64 YsGetFreq();
|
||||
void YsSetFreq(quint64 value);
|
||||
void YsReceiveFreq(quint64 freq);
|
||||
void play(const QString& fileName);
|
||||
QString get_screenshot_save_dir_path();
|
||||
QString get_screenshot_save_file_name();
|
||||
QString getAudioFileLocation();
|
||||
BackEnd(const BackEnd&) = delete;
|
||||
BackEnd& operator=(const BackEnd&) = delete;
|
||||
void callBackData_Func(int channel, void *pData, int iLength);
|
||||
protected:
|
||||
BackEnd();
|
||||
~BackEnd() override = default;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user