Files
racket-webview-qt/command.cpp

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;
}