aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/GuiLua.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-18 01:14:31 +1000
committerDavid Walter Seikel2014-04-18 01:14:31 +1000
commit910a06db9e7edc084aa62cda0d3ce98f6c65181c (patch)
tree5b6f391c8677cde3253665547af888aedb4e144d /ClientHamr/GuiLua/GuiLua.c
parentAdded some elm policy and config stuff. (diff)
downloadSledjHamr-910a06db9e7edc084aa62cda0d3ce98f6c65181c.zip
SledjHamr-910a06db9e7edc084aa62cda0d3ce98f6c65181c.tar.gz
SledjHamr-910a06db9e7edc084aa62cda0d3ce98f6c65181c.tar.bz2
SledjHamr-910a06db9e7edc084aa62cda0d3ce98f6c65181c.tar.xz
TODO and comment additions.
Diffstat (limited to 'ClientHamr/GuiLua/GuiLua.c')
-rw-r--r--ClientHamr/GuiLua/GuiLua.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ClientHamr/GuiLua/GuiLua.c b/ClientHamr/GuiLua/GuiLua.c
index ec8c23e..9ef60de 100644
--- a/ClientHamr/GuiLua/GuiLua.c
+++ b/ClientHamr/GuiLua/GuiLua.c
@@ -521,10 +521,14 @@ int push_lua(lua_State *L, char *params, ...) // Stack usage [-0, +n, em]
521} 521}
522 522
523 523
524// TODO - These functions should be able to deal with multiple windows.
525// TODO - Should be able to open external and internal windows, and even switch between them on the fly.
524static void _on_done(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) 526static void _on_done(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
525{ 527{
526// globals *ourGlobals = data; 528// globals *ourGlobals = data;
527 529
530// TODO - skang.quit() should do this to.
531 // Tell the main loop to stop, which it will, eventually.
528 elm_exit(); 532 elm_exit();
529} 533}
530 534
@@ -585,6 +589,7 @@ static int closeWindow(lua_State *L)
585 ourGlobals->logDom = -1; 589 ourGlobals->logDom = -1;
586 } 590 }
587 591
592 // This shuts down Elementary, but keeps the main loop running until all ecore_evas are freed.
588 elm_shutdown(); 593 elm_shutdown();
589 594
590 return 0; 595 return 0;