capybara-webkit/src/Server.h

21 lines
272 B
C
Raw Normal View History

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