17 lines
252 B
C
17 lines
252 B
C
|
#include <QObject>
|
||
|
|
||
|
class Command;
|
||
|
class WebPage;
|
||
|
|
||
|
class CommandFactory : public QObject {
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
CommandFactory(WebPage *page, QObject *parent = 0);
|
||
|
Command *createCommand(const char *name);
|
||
|
|
||
|
private:
|
||
|
WebPage *m_page;
|
||
|
};
|
||
|
|