1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
capybara-webkit/src/Server.h

22 lines
305 B
C
Raw Normal View History

2011-02-18 22:53:06 -05:00
#include <QObject>
class QTcpServer;
class WebPage;
class Server : public QObject {
Q_OBJECT
public:
Server(QObject *parent = 0);
bool start();
quint16 server_port() const;
2011-02-18 22:53:06 -05:00
public slots:
void handleConnection();
private:
QTcpServer *m_tcp_server;
WebPage *m_page;
};