summaryrefslogtreecommitdiff
path: root/inc/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/main.h')
-rw-r--r--inc/main.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/inc/main.h b/inc/main.h
new file mode 100644
index 0000000..c0b73e4
--- /dev/null
+++ b/inc/main.h
@@ -0,0 +1,40 @@
+#ifndef __main_H__
+#define __main_H__
+
+#include <app.h>
+#include <Elementary.h>
+#include <system_settings.h>
+#include <efl_extension.h>
+#include <dlog.h>
+#include <glib.h>
+#include "convergence.h"
+
+#ifdef LOG_TAG
+#undef LOG_TAG
+#endif
+#define LOG_TAG "D2D-CONV-SETTING"
+
+#define PACKAGE "org.tizen.d2d-conv-setting"
+
+typedef enum state
+{
+ POWER_OFF = 0,
+ POWER_ON,
+ SCAN_START,
+ SCAN_STOP
+
+} state_e;
+
+
+/* state event lisetner */
+typedef void (*event_listener)(state_e state);
+extern void add_state_change_event_listener(event_listener listener);
+extern void state_change_event(state_e state);
+
+
+/* setting ui */
+extern void create_setting_menu(Evas_Object *parent);
+extern void create_setting_item_power(Evas_Object *parent);
+extern void create_setting_item_sign(Evas_Object *parent);
+
+#endif /* __main_H__ */