2011-10-14 11:22:24 -04:00
|
|
|
#include "CommandFactory.h"
|
2012-03-21 18:50:55 -04:00
|
|
|
#include "NullCommand.h"
|
2011-10-14 11:22:24 -04:00
|
|
|
#include "Visit.h"
|
2013-02-26 14:44:22 -05:00
|
|
|
#include "FindXpath.h"
|
2011-10-14 11:22:24 -04:00
|
|
|
#include "Reset.h"
|
|
|
|
#include "Node.h"
|
|
|
|
#include "Evaluate.h"
|
|
|
|
#include "Execute.h"
|
|
|
|
#include "FrameFocus.h"
|
|
|
|
#include "Header.h"
|
|
|
|
#include "Render.h"
|
|
|
|
#include "Body.h"
|
|
|
|
#include "Status.h"
|
|
|
|
#include "Headers.h"
|
|
|
|
#include "SetCookie.h"
|
|
|
|
#include "ClearCookies.h"
|
|
|
|
#include "GetCookies.h"
|
2011-10-14 17:13:06 -04:00
|
|
|
#include "SetProxy.h"
|
2011-10-31 13:53:57 -04:00
|
|
|
#include "ConsoleMessages.h"
|
2012-02-05 11:43:48 -05:00
|
|
|
#include "CurrentUrl.h"
|
2012-10-24 07:55:29 -04:00
|
|
|
#include "SetTimeout.h"
|
|
|
|
#include "GetTimeout.h"
|
2014-06-18 18:00:34 -04:00
|
|
|
#include "WindowResize.h"
|
2012-05-04 13:56:21 -04:00
|
|
|
#include "IgnoreSslErrors.h"
|
2012-03-29 21:38:34 -04:00
|
|
|
#include "SetSkipImageLoading.h"
|
2012-03-26 18:41:33 -04:00
|
|
|
#include "WindowFocus.h"
|
2012-03-27 18:49:57 -04:00
|
|
|
#include "GetWindowHandles.h"
|
|
|
|
#include "GetWindowHandle.h"
|
2012-03-28 23:05:24 -04:00
|
|
|
#include "WebPageManager.h"
|
2012-05-25 10:13:17 -04:00
|
|
|
#include "Authenticate.h"
|
2012-06-29 12:14:22 -04:00
|
|
|
#include "EnableLogging.h"
|
2012-07-10 09:47:17 -04:00
|
|
|
#include "SetConfirmAction.h"
|
|
|
|
#include "SetPromptAction.h"
|
|
|
|
#include "SetPromptText.h"
|
|
|
|
#include "ClearPromptText.h"
|
|
|
|
#include "JavascriptAlertMessages.h"
|
|
|
|
#include "JavascriptConfirmMessages.h"
|
|
|
|
#include "JavascriptPromptMessages.h"
|
2012-10-08 23:56:33 -04:00
|
|
|
#include "SetUrlBlacklist.h"
|
2013-02-06 13:23:39 -05:00
|
|
|
#include "Version.h"
|
2013-02-18 11:08:40 -05:00
|
|
|
#include "Title.h"
|
2013-02-25 12:04:12 -05:00
|
|
|
#include "FindCss.h"
|
2014-06-18 18:00:34 -04:00
|
|
|
#include "WindowClose.h"
|
|
|
|
#include "WindowOpen.h"
|
|
|
|
#include "WindowSize.h"
|
|
|
|
#include "WindowMaximize.h"
|
|
|
|
#include "GoBack.h"
|
|
|
|
#include "GoForward.h"
|
2011-10-14 11:22:24 -04:00
|
|
|
|
2012-03-28 23:05:24 -04:00
|
|
|
CommandFactory::CommandFactory(WebPageManager *manager, QObject *parent) : QObject(parent) {
|
|
|
|
m_manager = manager;
|
2011-10-14 11:22:24 -04:00
|
|
|
}
|
|
|
|
|
2012-03-16 19:58:58 -04:00
|
|
|
Command *CommandFactory::createCommand(const char *name, QStringList &arguments) {
|
2011-10-14 11:22:24 -04:00
|
|
|
#include "find_command.h"
|
2012-07-08 15:04:30 -04:00
|
|
|
return new NullCommand(QString(name));
|
2012-03-26 18:41:33 -04:00
|
|
|
}
|