summaryrefslogtreecommitdiff
path: root/src/bin/main.c
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-03-20 11:22:20 +0200
committerYakov Goldberg <yakov.g@samsung.com>2014-03-24 16:03:26 +0200
commit123e6f98569c8f57868dfafc921c3dff72823231 (patch)
tree45605f9b858b70979cd9b77837411be3e81c0716 /src/bin/main.c
parentded17df68ab24674fa41f8bb760f01a7e05b20b0 (diff)
add GUI_TYPE_CB, and _manager_init_check
Diffstat (limited to 'src/bin/main.c')
-rw-r--r--src/bin/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 1411cd7..c2f262c 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -3,7 +3,6 @@
3 3
4#include "gui_parser.h" 4#include "gui_parser.h"
5#include "simulator.h" 5#include "simulator.h"
6#include "ffi_glue.h"
7#include "generator.h" 6#include "generator.h"
8#include "egui_log.h" 7#include "egui_log.h"
9#include <Elementary.h> 8#include <Elementary.h>
@@ -92,6 +91,11 @@ _help()
92 " -o NAME in generate mode\n"); 91 " -o NAME in generate mode\n");
93} 92}
94 93
94/* Declare only this function,
95 * because ffi_glue.h don't need to be included. */
96Eina_Bool
97_manager_init_check();
98
95int 99int
96main(int argc, char **argv) 100main(int argc, char **argv)
97{ 101{
@@ -107,6 +111,7 @@ main(int argc, char **argv)
107 EINA_LOG_ERR("Could not start egui"); 111 EINA_LOG_ERR("Could not start egui");
108 return 1; 112 return 1;
109 } 113 }
114 _manager_init_check();
110 115
111 for (i = 1; i < argc; i++) 116 for (i = 1; i < argc; i++)
112 { 117 {