blob: c0b73e4a6f37979f3a494541810e7112c215f8b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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__ */
|