2017-05-13 16:39:37 +00:00
|
|
|
#ifndef RADARE_WEBSERVER_H
|
|
|
|
#define RADARE_WEBSERVER_H
|
2017-03-29 10:18:37 +00:00
|
|
|
|
|
|
|
#include <QThread>
|
2017-04-01 01:50:14 +00:00
|
|
|
#include <QMutex>
|
|
|
|
|
|
|
|
class QRCore;
|
2017-03-29 10:18:37 +00:00
|
|
|
|
2017-05-13 16:39:37 +00:00
|
|
|
class RadareWebServer
|
2017-03-29 10:18:37 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2017-05-13 16:39:37 +00:00
|
|
|
explicit RadareWebServer(QRCore *core);
|
|
|
|
~RadareWebServer();
|
2017-04-01 01:50:14 +00:00
|
|
|
|
2017-05-13 16:39:37 +00:00
|
|
|
void start();
|
|
|
|
void stop();
|
2017-04-01 01:50:14 +00:00
|
|
|
|
|
|
|
bool isStarted() const;
|
2017-03-29 10:18:37 +00:00
|
|
|
|
|
|
|
private:
|
2017-04-01 01:50:14 +00:00
|
|
|
QRCore *core;
|
|
|
|
bool started;
|
2017-03-29 10:18:37 +00:00
|
|
|
};
|
|
|
|
|
2017-05-13 16:39:37 +00:00
|
|
|
#endif // RADARE_WEBSERVER_H
|