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>
|
|
|
|
|
2017-07-02 11:11:02 +00:00
|
|
|
class IaitoRCore;
|
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-07-02 11:11:02 +00:00
|
|
|
explicit RadareWebServer(IaitoRCore *core);
|
2017-05-13 16:39:37 +00:00
|
|
|
~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-07-02 11:11:02 +00:00
|
|
|
IaitoRCore *core;
|
2017-04-01 01:50:14 +00:00
|
|
|
bool started;
|
2017-03-29 10:18:37 +00:00
|
|
|
};
|
|
|
|
|
2017-05-13 16:39:37 +00:00
|
|
|
#endif // RADARE_WEBSERVER_H
|