This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2017-12-28 13:17:23 +01:00

34 lines
601 B
C++

#ifndef CORE_H
#define CORE_H
#include <QObject>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdbool.h>
#include <readline/readline.h>
#include "terminalcommander.h"
#include "zigbeenetworkmanager.h"
class Core : public QObject
{
Q_OBJECT
public:
explicit Core(const int &channel, QObject *parent = nullptr);
private:
ZigbeeNetworkManager *m_manager = nullptr;
QTimer *m_testTimer = nullptr;
QList<TerminalCommand> m_commands;
signals:
private slots:
void onTimeout();
void onCommandReceived(const QStringList &tokens);
};
#endif // CORE_H