用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
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.
 
 
 
 
 
 

38 lines
972 B

/****************************************************************************
**
** Copyright (C) 2013 Jeffrey Lee.
** All rights reserved.
** Contact: vipjeffreylee@gmail.com
** Please keep the author contact information.
** 2013-10-10
**
****************************************************************************/
#ifndef ROBOT_H
#define ROBOT_H
#include <QObject>
#include <QtPlugin>
#include <QStringList>
#include "robotinterface.h"
class QNetworkAccessManager;
class QNetworkReply;
class Robot : public QObject, RobotInterface
{
Q_OBJECT
Q_PLUGIN_METADATA(IID RobotInterface_iid)
Q_INTERFACES(RobotInterface)
public:
Robot();
QString name();
ReplyMsg listenandsay(const MsgSender msgSender, const QString &message);
private slots:
void replyFinished(QNetworkReply * reply);
signals:
void OnEventLoopQuit();
private:
QNetworkAccessManager *http;
QString getWeather();
QString weather;
};
#endif // ROBOT_H