summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2012-04-01 12:43:33 -0700
committerPixel <pixel@nobis-crew.org>2012-04-01 12:43:33 -0700
commitfe1402c1e8e333970c5568527dde0e821671fcb7 (patch)
tree090a31d36d1c2d92de7a250026df8c0226753c3c
parent1ba3839377e99d2020c33757964de3a49cafab15 (diff)
Proof of concept.
m---------Balau0
-rw-r--r--src/Dalos-cli.cc6
2 files changed, 6 insertions, 0 deletions
diff --git a/Balau b/Balau
-Subproject 01e69854c5445ea1ae73cfc0f386d1a7c7b687f
+Subproject a4634497c8ada51755249606d8dc4b4c2761c01
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);
}