mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
27 lines
451 B
C++
27 lines
451 B
C++
#ifndef YACREADER_LOCAL_SERVER_H
|
|
#define YACREADER_LOCAL_SERVER_H
|
|
|
|
#include <QObject>
|
|
|
|
class QLocalServer;
|
|
|
|
class YACReaderLocalServer : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit YACReaderLocalServer(QObject *parent = 0);
|
|
|
|
signals:
|
|
|
|
public slots:
|
|
bool isListening();
|
|
void sendResponse();
|
|
static bool isRunning();
|
|
|
|
private:
|
|
QLocalServer * localServer;
|
|
|
|
};
|
|
|
|
#endif // YACREADER_LOCAL_SERVER_H
|