mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-16 02:31:37 +03:00
22 lines
295 B
C
22 lines
295 B
C
|
#ifndef SOCKETCLIENT_H
|
||
|
#define SOCKETCLIENT_H
|
||
|
|
||
|
#include <QObject>
|
||
|
|
||
|
class QLocalSocket;
|
||
|
|
||
|
class SocketClient : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit SocketClient(QObject *parent = 0);
|
||
|
|
||
|
public slots:
|
||
|
void writeData();
|
||
|
|
||
|
private:
|
||
|
QLocalSocket *sock;
|
||
|
};
|
||
|
|
||
|
#endif // SOCKETCLIENT_H
|