capybara-webkit/src/Command.h

30 lines
402 B
C
Raw Normal View History

2011-02-19 03:53:06 +00:00
#ifndef COMMAND_H
#define COMMAND_H
#include <QObject>
#include <QStringList>
#include "Response.h"
2011-02-19 03:53:06 +00:00
class WebPage;
class Command : public QObject {
Q_OBJECT
public:
Command(WebPage *page, QObject *parent = 0);
virtual void start(QStringList &arguments);
2011-02-19 03:53:06 +00:00
signals:
void finished(Response *response);
2011-02-19 03:53:06 +00:00
protected:
WebPage *page();
private:
WebPage *m_page;
};
#endif