16 Star 35 Fork 15

广州灵派科技有限公司 / Encoder

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Group.h 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
zc 提交于 2019-07-19 10:18 . 修正3559A
#ifndef GROUP_H
#define GROUP_H
#include <QObject>
#include "GroupRPC.h"
#include <QTimer>
#include <QList>
#include <QVariantMap>
class Group : public QObject
{
Q_OBJECT
public:
explicit Group(QObject *parent = 0);
void init();
GroupRPC *rpc;
private:
void loadConfig();
private:
QVariantMap version;
QString type;
QTimer timer;
QMap<QString,QVariantMap> memberInfo;
QVariantMap epgMap;
signals:
public slots:
void onTimer();
void hello(QVariant data);
bool clearMember();
bool update(QVariantMap json);
QVariant setNetwork(QVariant cfg);
QVariant setEncode(QVariant cfg);
QVariant setStream(QVariant cfg);
QVariant setStream2(QVariant cfg);
QVariant getNetwork();
QVariantList getList();
QVariantList callGetEPG();
QVariantList orderEPG(QVariantList order);
QVariant getEPG();
QVariant syncEPG(QVariant epg);
bool createEPG();
bool createEPGXML(QVariantList epgList);
void reboot();
bool callSetNetwork(QString mac, QVariantMap json);
QVariantMap callGetNetwork(QString mac);
bool callSetEncode(QString mac, QVariantMap json);
bool callSetStream(QString mac, QVariantMap json);
bool callReboot(QString mac);
bool callSyncEPG(QString mac);
};
#endif // GROUP_H
C/C++
1
https://gitee.com/LinkPi/Encoder.git
git@gitee.com:LinkPi/Encoder.git
LinkPi
Encoder
Encoder
master

搜索帮助