yacreader/YACReaderLibrary/yacreader_local_server.h
2013-07-19 21:05:23 +02:00

28 lines
548 B
C++

#ifndef YACREADER_LOCAL_SERVER_H
#define YACREADER_LOCAL_SERVER_H
#include <QObject>
class QLocalServer;
class ComicDB;
class YACReaderLocalServer : public QObject
{
Q_OBJECT
public:
explicit YACReaderLocalServer(QObject *parent = 0);
signals:
public slots:
bool isListening();
void sendResponse();
static bool isRunning();
void getComicInfo(quint64 libraryId, ComicDB & comic, QList<ComicDB> & sibling);
private:
QLocalServer * localServer;
};
#endif // YACREADER_LOCAL_SERVER_H