capybara-webkit/src/Server.h

20 lines
265 B
C
Raw Permalink Normal View History

2011-02-19 03:53:06 +00:00
#include <QObject>
class QTcpServer;
class Server : public QObject {
Q_OBJECT
public:
Server(QObject *parent);
2011-02-19 03:53:06 +00:00
bool start();
quint16 server_port() const;
2011-02-19 03:53:06 +00:00
public slots:
void handleConnection();
private:
QTcpServer *m_tcp_server;
};