Files
racket-webview/rktwebview_qt/command.cpp
2026-03-04 23:54:50 +01:00

21 lines
250 B
C++

#include "command.h"
Command::Command(int _cmd)
{
cmd = _cmd;
done = false;
js_result_ok = true;
}
Command *CommandEvent::cmd()
{
return _cmd;
}
CommandEvent::CommandEvent(Command *c)
: QEvent(COMMAND_EVENT)
{
_cmd = c;
}