1 2 3 4 5 6 7 8 9 10 11 12 13
#include <Main.h> #include <TaskMan.h> #include <LuaTask.h> using namespace Balau; void MainTask::Do() { Printer::log(M_STATUS, "Dalos-cli starting"); LuaMainTask * luaMainTask = createTask(new LuaMainTask); LuaExecString luaExecString("print 'foo'"); luaExecString.exec(luaMainTask); }