tahoma2d/toonz/sources/include/tipcsrvP.h

35 lines
556 B
C
Raw Normal View History

2016-05-17 03:04:11 +12:00
#pragma once
2016-03-19 06:57:51 +13:00
#ifndef TIPC_SERVER_PRIVATE_H
#define TIPC_SERVER_PRIVATE_H
#include <QObject>
#include <QLocalSocket>
2016-06-15 18:43:10 +12:00
namespace tipc {
2016-03-19 06:57:51 +13:00
//------------------------------------------------------------------
// Forward declarations
class Server;
//------------------------------------------------------------------
class SocketController final : public QObject {
2016-06-15 18:43:10 +12:00
Q_OBJECT
2016-03-19 06:57:51 +13:00
public:
2016-06-15 18:43:10 +12:00
Server *m_server;
QLocalSocket *m_socket;
2016-03-19 06:57:51 +13:00
public Q_SLOTS:
2016-06-15 18:43:10 +12:00
void onReadyRead();
void onDisconnected();
2016-03-19 06:57:51 +13:00
};
2016-06-15 18:43:10 +12:00
} // namespace tipc
2016-03-19 06:57:51 +13:00
2016-06-15 18:43:10 +12:00
#endif // TIPC_SERVER_PRIVATE_H