diff options
author | Pixel <pixel@nobis-crew.org> | 2012-04-01 12:43:33 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2012-04-01 12:43:33 -0700 |
commit | fe1402c1e8e333970c5568527dde0e821671fcb7 (patch) | |
tree | 090a31d36d1c2d92de7a250026df8c0226753c3c /src/Dalos-cli.cc | |
parent | 1ba3839377e99d2020c33757964de3a49cafab15 (diff) |
Proof of concept.
Diffstat (limited to 'src/Dalos-cli.cc')
-rw-r--r-- | src/Dalos-cli.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Dalos-cli.cc b/src/Dalos-cli.cc index 490f812..7a5c5ba 100644 --- a/src/Dalos-cli.cc +++ b/src/Dalos-cli.cc @@ -1,7 +1,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); } |