//
// C++ Interface: simplelocalsocket
//
// Description:
//
//
// Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>, (C) 2006-2018
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef SIMPLELOCALSOCKET_H
#define SIMPLELOCALSOCKET_H

#include <QObject>

/**
	@author Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
*/
class QLocalSocket;
class ShareTray;
class SimpleLocalSocket : public QObject
{
    Q_OBJECT
public:
    SimpleLocalSocket(ShareTray* obj, QLocalSocket* soc,
                      QObject *parent = 0);
    ~SimpleLocalSocket();
private:
    QLocalSocket* socket;
    ShareTray* trayApp;
private slots:
    void slotReadFromSocket();
    void closeSocket();
};

#endif
