Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 13 lines (11 sloc) 0.443 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
#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);
}
Something went wrong with that request. Please try again.