-
This commit is contained in:
20
rktwebview_qt/command.cpp
Normal file
20
rktwebview_qt/command.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user