Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 443 Bytes
#include "JavascriptPromptMessages.h"
#include "WebPage.h"
#include "WebPageManager.h"
#include "JsonSerializer.h"
JavascriptPromptMessages::JavascriptPromptMessages(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {}
void JavascriptPromptMessages::start()
{
JsonSerializer serializer;
QByteArray json = serializer.serialize(page()->promptMessages());
finish(true, json);
}