code refactoring.
specify 'void' for void arguments functions to catch up the warnings more intensively.
This commit is contained in:
parent
8fc8d6c192
commit
f986ac38a1
|
@ -500,7 +500,7 @@ autocomp_init(Evas_Object *parent)
|
|||
}
|
||||
|
||||
void
|
||||
autocomp_term()
|
||||
autocomp_term(void)
|
||||
{
|
||||
autocomp_data *ad = g_ad;
|
||||
evas_object_del(ad->anchor);
|
||||
|
@ -515,7 +515,7 @@ autocomp_term()
|
|||
}
|
||||
|
||||
void
|
||||
autocomp_toggle()
|
||||
autocomp_toggle(void)
|
||||
{
|
||||
Eina_Bool toggle = !config_auto_complete_get();
|
||||
if (toggle) stats_info_msg_update("Auto Completion Enabled.");
|
||||
|
|
|
@ -59,14 +59,14 @@ base_tools_toggle(Eina_Bool config)
|
|||
}
|
||||
|
||||
Evas_Object *
|
||||
base_win_get()
|
||||
base_win_get(void)
|
||||
{
|
||||
base_data *bd = g_bd;
|
||||
return bd->win;
|
||||
}
|
||||
|
||||
Evas_Object *
|
||||
base_layout_get()
|
||||
base_layout_get(void)
|
||||
{
|
||||
base_data *bd = g_bd;
|
||||
return bd->layout;
|
||||
|
@ -91,13 +91,13 @@ void base_tools_set(Evas_Object *tools)
|
|||
}
|
||||
|
||||
void
|
||||
base_full_view_left()
|
||||
base_full_view_left(void)
|
||||
{
|
||||
panes_full_view_left();
|
||||
}
|
||||
|
||||
void
|
||||
base_full_view_right()
|
||||
base_full_view_right(void)
|
||||
{
|
||||
panes_full_view_right();
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ base_left_view_set(Evas_Object *left)
|
|||
}
|
||||
|
||||
void
|
||||
base_gui_term()
|
||||
base_gui_term(void)
|
||||
{
|
||||
base_data *bd = g_bd;
|
||||
panes_term();
|
||||
|
@ -123,7 +123,7 @@ base_gui_term()
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
base_gui_init()
|
||||
base_gui_init(void)
|
||||
{
|
||||
char buf[PATH_MAX];
|
||||
|
||||
|
@ -168,7 +168,7 @@ base_gui_init()
|
|||
}
|
||||
|
||||
void
|
||||
base_gui_show()
|
||||
base_gui_show(void)
|
||||
{
|
||||
evas_object_show(g_bd->win);
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
static char *EDJE_CC_CMD = NULL;
|
||||
|
||||
Eina_Bool
|
||||
build_cmd_set()
|
||||
build_cmd_set(void)
|
||||
{
|
||||
Eina_Strbuf *buf = eina_strbuf_new();
|
||||
if (!buf) return EINA_FALSE;
|
||||
|
@ -31,7 +31,7 @@ build_cmd_set()
|
|||
}
|
||||
|
||||
void
|
||||
build_edc()
|
||||
build_edc(void)
|
||||
{
|
||||
char *bp = NULL;
|
||||
size_t size;
|
||||
|
@ -48,13 +48,13 @@ build_edc()
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
build_init()
|
||||
build_init(void)
|
||||
{
|
||||
return build_cmd_set();
|
||||
}
|
||||
|
||||
void
|
||||
build_term()
|
||||
build_term(void)
|
||||
{
|
||||
free(EDJE_CC_CMD);
|
||||
}
|
||||
|
|
|
@ -103,7 +103,7 @@ config_paths_buf_set(Eina_List *paths, const char *prefix)
|
|||
}
|
||||
|
||||
static config_data *
|
||||
config_load()
|
||||
config_load(void)
|
||||
{
|
||||
char buf[PATH_MAX];
|
||||
snprintf(buf, sizeof(buf), "%s/enventor/config.eet",
|
||||
|
@ -176,7 +176,7 @@ config_load()
|
|||
}
|
||||
|
||||
static void
|
||||
eddc_init()
|
||||
eddc_init(void)
|
||||
{
|
||||
Eet_Data_Descriptor_Class eddc;
|
||||
eet_eina_stream_data_descriptor_class_set(&eddc, sizeof(eddc),
|
||||
|
@ -238,7 +238,7 @@ config_init(const char *edc_path, const char *edc_img_path,
|
|||
}
|
||||
|
||||
void
|
||||
config_term()
|
||||
config_term(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
|
||||
|
@ -431,42 +431,42 @@ config_edc_img_path_set(const char *edc_img_path)
|
|||
}
|
||||
|
||||
void
|
||||
config_apply()
|
||||
config_apply(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
if (cd->update_cb) cd->update_cb(cd->update_cb_data);
|
||||
}
|
||||
|
||||
Eina_List *
|
||||
config_edc_img_path_list_get()
|
||||
config_edc_img_path_list_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->edc_img_path_list;
|
||||
}
|
||||
|
||||
Eina_List *
|
||||
config_edc_snd_path_list_get()
|
||||
config_edc_snd_path_list_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->edc_snd_path_list;
|
||||
}
|
||||
|
||||
Eina_List *
|
||||
config_edc_data_path_list_get()
|
||||
config_edc_data_path_list_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->edc_data_path_list;
|
||||
}
|
||||
|
||||
Eina_List *
|
||||
config_edc_fnt_path_list_get()
|
||||
config_edc_fnt_path_list_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->edc_fnt_path_list;
|
||||
}
|
||||
|
||||
const char *
|
||||
config_edc_img_path_get()
|
||||
config_edc_img_path_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
if (!cd->edc_img_path_buf) return NULL;
|
||||
|
@ -474,7 +474,7 @@ config_edc_img_path_get()
|
|||
}
|
||||
|
||||
const char *
|
||||
config_edc_snd_path_get()
|
||||
config_edc_snd_path_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
if (!cd->edc_snd_path_buf) return NULL;
|
||||
|
@ -482,7 +482,7 @@ config_edc_snd_path_get()
|
|||
}
|
||||
|
||||
const char *
|
||||
config_edc_data_path_get()
|
||||
config_edc_data_path_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
if (!cd->edc_data_path_buf) return NULL;
|
||||
|
@ -490,7 +490,7 @@ config_edc_data_path_get()
|
|||
}
|
||||
|
||||
const char *
|
||||
config_edc_fnt_path_get()
|
||||
config_edc_fnt_path_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
if (!cd->edc_fnt_path_buf) return NULL;
|
||||
|
@ -498,28 +498,28 @@ config_edc_fnt_path_get()
|
|||
}
|
||||
|
||||
const char *
|
||||
config_edc_path_get()
|
||||
config_edc_path_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->edc_path;
|
||||
}
|
||||
|
||||
const char *
|
||||
config_edj_path_get()
|
||||
config_edj_path_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->edj_path;
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
config_linenumber_get()
|
||||
config_linenumber_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->linenumber;
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
config_stats_bar_get()
|
||||
config_stats_bar_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->stats_bar;
|
||||
|
@ -548,7 +548,7 @@ config_update_cb_set(void (*cb)(void *data), void *data)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
config_part_highlight_get()
|
||||
config_part_highlight_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->part_highlight;
|
||||
|
@ -562,7 +562,7 @@ config_part_highlight_set(Eina_Bool highlight)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
config_dummy_swallow_get()
|
||||
config_dummy_swallow_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->dummy_swallow;
|
||||
|
@ -576,14 +576,14 @@ config_dummy_swallow_set(Eina_Bool dummy_swallow)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
config_auto_indent_get()
|
||||
config_auto_indent_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->auto_indent;
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
config_auto_complete_get()
|
||||
config_auto_complete_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->auto_complete;
|
||||
|
@ -603,7 +603,7 @@ config_font_size_set(float font_size)
|
|||
}
|
||||
|
||||
float
|
||||
config_font_size_get()
|
||||
config_font_size_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->font_size;
|
||||
|
@ -636,7 +636,7 @@ config_view_scale_set(double view_scale)
|
|||
}
|
||||
|
||||
double
|
||||
config_view_scale_get()
|
||||
config_view_scale_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->view_scale;
|
||||
|
@ -661,7 +661,7 @@ config_view_size_get(Evas_Coord *w, Evas_Coord *h)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
config_tools_get()
|
||||
config_tools_get(void)
|
||||
{
|
||||
config_data *cd = g_cd;
|
||||
return cd->tools;
|
||||
|
|
|
@ -859,7 +859,7 @@ parser_states_filtered_name_get(Eina_List *states)
|
|||
}
|
||||
|
||||
parser_data *
|
||||
parser_init()
|
||||
parser_init(void)
|
||||
{
|
||||
parser_data *pd = calloc(1, sizeof(parser_data));
|
||||
if (!pd)
|
||||
|
|
|
@ -42,7 +42,7 @@ view_del_timer_cb(void *data)
|
|||
}
|
||||
|
||||
void
|
||||
edj_mgr_clear()
|
||||
edj_mgr_clear(void)
|
||||
{
|
||||
edj_data *edj;
|
||||
edj_mgr *em = g_em;
|
||||
|
@ -75,11 +75,11 @@ edj_mgr_init(Evas_Object *parent)
|
|||
}
|
||||
|
||||
void
|
||||
edj_mgr_term()
|
||||
edj_mgr_term(void)
|
||||
{
|
||||
edj_mgr *em = g_em;
|
||||
|
||||
edj_mgr_clear(em);
|
||||
edj_mgr_clear();
|
||||
evas_object_del(em->layout);
|
||||
free(em);
|
||||
}
|
||||
|
@ -187,7 +187,7 @@ edj_mgr_view_switch_to(view_data *vd)
|
|||
}
|
||||
|
||||
Evas_Object *
|
||||
edj_mgr_obj_get()
|
||||
edj_mgr_obj_get(void)
|
||||
{
|
||||
edj_mgr *em = g_em;
|
||||
return em->layout;
|
||||
|
@ -201,7 +201,7 @@ edj_mgr_reload_need_set(Eina_Bool reload)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
edj_mgr_reload_need_get()
|
||||
edj_mgr_reload_need_get(void)
|
||||
{
|
||||
edj_mgr *em = g_em;
|
||||
return em->reload_need;
|
||||
|
|
|
@ -167,14 +167,14 @@ goto_open(edit_data *ed)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
goto_is_opened()
|
||||
goto_is_opened(void)
|
||||
{
|
||||
goto_data *gd = g_gd;
|
||||
return (gd ? EINA_TRUE : EINA_FALSE);
|
||||
}
|
||||
|
||||
void
|
||||
goto_close()
|
||||
goto_close(void)
|
||||
{
|
||||
goto_data *gd = g_gd;
|
||||
|
||||
|
|
|
@ -31,37 +31,32 @@ static void new_yes_btn_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
|||
void *event_info EINA_UNUSED);
|
||||
|
||||
static void
|
||||
fileselector_close()
|
||||
fileselector_close(menu_data *md)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
elm_object_signal_emit(md->fileselector_layout, "elm,state,dismiss", "");
|
||||
}
|
||||
|
||||
static void
|
||||
newfile_close()
|
||||
newfile_close(menu_data *md)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
elm_object_signal_emit(md->newfile_layout, "elm,state,dismiss", "");
|
||||
}
|
||||
|
||||
static void
|
||||
about_close()
|
||||
about_close(menu_data *md)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
elm_object_signal_emit(md->about_layout, "elm,state,dismiss", "");
|
||||
}
|
||||
|
||||
static void
|
||||
warning_close()
|
||||
warning_close(menu_data *md)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
elm_object_signal_emit(md->warning_layout, "elm,state,dismiss", "");
|
||||
}
|
||||
|
||||
static void
|
||||
menu_close()
|
||||
menu_close(menu_data *md)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
if (!md->menu_layout) return;
|
||||
elm_object_signal_emit(md->menu_layout, "elm,state,dismiss", "");
|
||||
}
|
||||
|
@ -680,28 +675,28 @@ menu_init(edit_data *ed)
|
|||
}
|
||||
|
||||
void
|
||||
menu_term()
|
||||
menu_term(void)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
free(md);
|
||||
}
|
||||
|
||||
void
|
||||
menu_about()
|
||||
menu_about(void)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
about_open(md);
|
||||
}
|
||||
|
||||
void
|
||||
menu_setting()
|
||||
menu_setting(void)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
setting_open();
|
||||
}
|
||||
|
||||
void
|
||||
menu_edc_new()
|
||||
menu_edc_new(void)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
if (edit_changed_get(md->ed))
|
||||
|
@ -711,14 +706,14 @@ menu_edc_new()
|
|||
}
|
||||
|
||||
void
|
||||
menu_edc_save()
|
||||
menu_edc_save(void)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
edc_file_save(md);
|
||||
}
|
||||
|
||||
void
|
||||
menu_edc_load()
|
||||
menu_edc_load(void)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
if (edit_changed_get(md->ed))
|
||||
|
@ -728,7 +723,7 @@ menu_edc_load()
|
|||
}
|
||||
|
||||
void
|
||||
menu_toggle()
|
||||
menu_toggle(void)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
|
||||
|
@ -787,7 +782,7 @@ menu_ctxpopup_register(Evas_Object *ctxpopup)
|
|||
}
|
||||
|
||||
int
|
||||
menu_activated_get()
|
||||
menu_activated_get(void)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
if (!md) return 0;
|
||||
|
@ -795,7 +790,7 @@ menu_activated_get()
|
|||
}
|
||||
|
||||
void
|
||||
menu_exit()
|
||||
menu_exit(void)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
if (edit_changed_get(md->ed))
|
||||
|
@ -808,7 +803,7 @@ menu_exit()
|
|||
}
|
||||
|
||||
void
|
||||
menu_deactivate_request()
|
||||
menu_deactivate_request(void)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
md->active_request--;
|
||||
|
@ -819,7 +814,7 @@ menu_deactivate_request()
|
|||
}
|
||||
|
||||
void
|
||||
menu_activate_request()
|
||||
menu_activate_request(void)
|
||||
{
|
||||
menu_data *md = g_md;
|
||||
if (md->menu_layout) elm_object_disabled_set(md->menu_layout, EINA_TRUE);
|
||||
|
|
|
@ -42,7 +42,7 @@ newfile_set(edit_data *ed)
|
|||
}
|
||||
|
||||
void
|
||||
newfile_default_set()
|
||||
newfile_default_set(void)
|
||||
{
|
||||
Eina_Bool success = EINA_TRUE;
|
||||
char buf[PATH_MAX];
|
||||
|
|
|
@ -65,7 +65,7 @@ panes_full_view_cancel(panes_data *pd)
|
|||
}
|
||||
|
||||
void
|
||||
panes_full_view_right()
|
||||
panes_full_view_right(void)
|
||||
{
|
||||
const double TRANSIT_TIME = 0.25;
|
||||
|
||||
|
@ -94,7 +94,7 @@ panes_full_view_right()
|
|||
}
|
||||
|
||||
void
|
||||
panes_full_view_left()
|
||||
panes_full_view_left(void)
|
||||
{
|
||||
const double TRANSIT_TIME = 0.25;
|
||||
|
||||
|
@ -131,7 +131,7 @@ panes_content_set(const char *part, Evas_Object *content)
|
|||
}
|
||||
|
||||
void
|
||||
panes_term()
|
||||
panes_term(void)
|
||||
{
|
||||
panes_data *pd = g_pd;
|
||||
evas_object_del(pd->panes);
|
||||
|
|
|
@ -411,14 +411,14 @@ search_open(edit_data *ed)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
search_is_opened()
|
||||
search_is_opened(void)
|
||||
{
|
||||
search_data *sd = g_sd;
|
||||
return (sd ? EINA_TRUE : EINA_FALSE);
|
||||
}
|
||||
|
||||
void
|
||||
search_close()
|
||||
search_close(void)
|
||||
{
|
||||
search_data *sd = g_sd;
|
||||
if (!sd) return;
|
||||
|
|
|
@ -116,15 +116,14 @@ setting_apply_btn_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
|||
|
||||
config_apply();
|
||||
|
||||
setting_close(sd);
|
||||
setting_close();
|
||||
}
|
||||
|
||||
static void
|
||||
setting_cancel_btn_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
||||
setting_cancel_btn_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
|
||||
void *event_info EINA_UNUSED)
|
||||
{
|
||||
setting_data *sd = data;
|
||||
setting_close(sd);
|
||||
setting_close();
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -180,7 +179,7 @@ toggle_create(Evas_Object *parent, const char *text, Eina_Bool state)
|
|||
}
|
||||
|
||||
void
|
||||
setting_open()
|
||||
setting_open(void)
|
||||
{
|
||||
setting_data *sd = g_sd;
|
||||
if (sd) return;
|
||||
|
@ -393,7 +392,7 @@ setting_close()
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
setting_is_opened()
|
||||
setting_is_opened(void)
|
||||
{
|
||||
setting_data *sd = g_sd;
|
||||
if (!sd) return EINA_FALSE;
|
||||
|
|
|
@ -57,14 +57,14 @@ stats_init(Evas_Object *parent)
|
|||
return layout;
|
||||
}
|
||||
|
||||
Eina_Stringshare *stats_group_name_get()
|
||||
Eina_Stringshare *stats_group_name_get(void)
|
||||
{
|
||||
stats_data *sd = g_sd;
|
||||
return sd->group_name;
|
||||
}
|
||||
|
||||
void
|
||||
stats_term()
|
||||
stats_term(void)
|
||||
{
|
||||
stats_data *sd = g_sd;
|
||||
eina_stringshare_del(sd->group_name);
|
||||
|
@ -82,7 +82,7 @@ stats_info_msg_update(const char *msg)
|
|||
}
|
||||
|
||||
void
|
||||
stats_view_size_update()
|
||||
stats_view_size_update(void)
|
||||
{
|
||||
stats_data *sd = g_sd;
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ hash_free_cb(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
eddc_init()
|
||||
eddc_init(void)
|
||||
{
|
||||
Eet_Data_Descriptor_Class eddc;
|
||||
eet_eina_stream_data_descriptor_class_set(&eddc, sizeof(eddc),
|
||||
|
@ -80,7 +80,7 @@ eddc_init()
|
|||
}
|
||||
|
||||
static void
|
||||
eddc_term()
|
||||
eddc_term(void)
|
||||
{
|
||||
eet_data_descriptor_free(edd_scg);
|
||||
eet_data_descriptor_free(edd_color);
|
||||
|
|
|
@ -24,7 +24,7 @@ buf_flush_timer_cb(void *data)
|
|||
}
|
||||
|
||||
syntax_helper *
|
||||
syntax_init()
|
||||
syntax_init(void)
|
||||
{
|
||||
syntax_helper *sh = malloc(sizeof(syntax_helper));
|
||||
if (!sh)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
void autocomp_init(Evas_Object *parent);
|
||||
void autocomp_term();
|
||||
void autocomp_term(void);
|
||||
void autocomp_target_set(edit_data *ed);
|
||||
void autocomp_toggle();
|
||||
void autocomp_toggle(void);
|
||||
Eina_Bool autocomp_key_event_hook(const char *key);
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
#include "panes.h"
|
||||
|
||||
Eina_Bool base_gui_init();
|
||||
void base_gui_show();
|
||||
Evas_Object *base_win_get();
|
||||
Evas_Object *base_layout_get();
|
||||
Eina_Bool base_gui_init(void);
|
||||
void base_gui_show(void);
|
||||
Evas_Object *base_win_get(void);
|
||||
Evas_Object *base_layout_get(void);
|
||||
void base_win_resize_object_add(Evas_Object *resize_obj);
|
||||
void base_title_set(const char *path);
|
||||
void base_statusbar_toggle(Eina_Bool config);
|
||||
void base_tools_toggle(Eina_Bool config);
|
||||
void base_tools_set(Evas_Object *tools);
|
||||
void base_full_view_left();
|
||||
void base_full_view_right();
|
||||
void base_full_view_left(void);
|
||||
void base_full_view_right(void);
|
||||
void base_left_view_set(Evas_Object *left);
|
||||
void base_right_view_set(Evas_Object *right);
|
||||
void base_gui_term();
|
||||
void base_gui_term(void);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
void build_edc();
|
||||
Eina_Bool build_init();
|
||||
void build_term();
|
||||
Eina_Bool build_cmd_set();
|
||||
void build_edc(void);
|
||||
Eina_Bool build_init(void);
|
||||
void build_term(void);
|
||||
Eina_Bool build_cmd_set(void);
|
||||
|
|
|
@ -4,42 +4,42 @@
|
|||
#define MIN_VIEW_SCALE 0.5
|
||||
|
||||
void config_init(const char *edc_path, const char *edc_img_path, const char *edc_snd_path, const char *edc_fnt_path, const char *edc_data_path);
|
||||
void config_term();
|
||||
const char *config_edc_path_get();
|
||||
const char *config_edj_path_get();
|
||||
const char *config_edc_img_path_get();
|
||||
const char *config_edc_snd_path_get();
|
||||
const char *config_edc_fnt_path_get();
|
||||
const char *config_edc_data_path_get();
|
||||
void config_term(void);
|
||||
const char *config_edc_path_get(void);
|
||||
const char *config_edj_path_get(void);
|
||||
const char *config_edc_img_path_get(void);
|
||||
const char *config_edc_snd_path_get(void);
|
||||
const char *config_edc_fnt_path_get(void);
|
||||
const char *config_edc_data_path_get(void);
|
||||
void config_edc_img_path_set(const char *edc_img_path);
|
||||
void config_edc_snd_path_set(const char *edc_snd_path);
|
||||
void config_edc_fnt_path_set(const char *edc_fnt_path);
|
||||
void config_edc_data_path_set(const char *edc_fnt_path);
|
||||
Eina_List *config_edc_img_path_list_get();
|
||||
Eina_List *config_edc_snd_path_list_get();
|
||||
Eina_List *config_edc_fnt_path_list_get();
|
||||
Eina_List *config_edc_data_path_list_get();
|
||||
Eina_List *config_edc_img_path_list_get(void);
|
||||
Eina_List *config_edc_snd_path_list_get(void);
|
||||
Eina_List *config_edc_fnt_path_list_get(void);
|
||||
Eina_List *config_edc_data_path_list_get(void);
|
||||
void config_update_cb_set(void (*cb)(void *data), void *data);
|
||||
void config_stats_bar_set(Eina_Bool enabled);
|
||||
void config_linenumber_set(Eina_Bool enabled);
|
||||
Eina_Bool config_stats_bar_get();
|
||||
Eina_Bool config_linenumber_get();
|
||||
void config_apply();
|
||||
Eina_Bool config_stats_bar_get(void);
|
||||
Eina_Bool config_linenumber_get(void);
|
||||
void config_apply(void);
|
||||
void config_edc_path_set(const char *edc_path);
|
||||
void config_view_size_get(Evas_Coord *w, Evas_Coord *h);
|
||||
void config_view_size_set(Evas_Coord w, Evas_Coord h);
|
||||
Eina_Bool config_part_highlight_get();
|
||||
Eina_Bool config_part_highlight_get(void);
|
||||
void config_part_highlight_set(Eina_Bool highlight);
|
||||
Eina_Bool config_dummy_swallow_get();
|
||||
Eina_Bool config_dummy_swallow_get(void);
|
||||
void config_dummy_swallow_set(Eina_Bool dummy_swallow);
|
||||
void config_auto_indent_set(Eina_Bool auto_indent);
|
||||
Eina_Bool config_auto_indent_get();
|
||||
Eina_Bool config_auto_indent_get(void);
|
||||
void config_auto_complete_set(Eina_Bool auto_complete);
|
||||
Eina_Bool config_auto_complete_get();
|
||||
Eina_Bool config_auto_complete_get(void);
|
||||
void config_font_size_set(float font_size);
|
||||
float config_font_size_get();
|
||||
float config_font_size_get(void);
|
||||
void config_view_scale_set(double view_scale);
|
||||
double config_view_scale_get();
|
||||
Eina_Bool config_tools_get();
|
||||
double config_view_scale_get(void);
|
||||
Eina_Bool config_tools_get(void);
|
||||
void config_tools_set(Eina_Bool enabled);
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#define TAB "<tab/>"
|
||||
#define TAB_LEN 6
|
||||
|
||||
parser_data *parser_init();
|
||||
parser_data *parser_init(void);
|
||||
void parser_term(parser_data *pd);
|
||||
Eina_Stringshare *parser_first_group_name_get(parser_data *pd, Evas_Object *entry);
|
||||
void parser_cur_name_get(parser_data *pd, Evas_Object *entry, void (*cb)(void *data, Eina_Stringshare *part_name, Eina_Stringshare *group_name), void *data);
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
#define VIEW_DATA edj_mgr_view_get(NULL)
|
||||
|
||||
void edj_mgr_init(Evas_Object *parent);
|
||||
void edj_mgr_term();
|
||||
void edj_mgr_term(void);
|
||||
view_data * edj_mgr_view_new(const char *group);
|
||||
view_data *edj_mgr_view_get(Eina_Stringshare *group);
|
||||
Evas_Object * edj_mgr_obj_get();
|
||||
Evas_Object * edj_mgr_obj_get(void);
|
||||
view_data *edj_mgr_view_switch_to(view_data *vd);
|
||||
void edj_mgr_view_del(view_data *vd);
|
||||
void edj_mgr_reload_need_set(Eina_Bool reload);
|
||||
Eina_Bool edj_mgr_reload_need_get();
|
||||
void edj_mgr_clear();
|
||||
Eina_Bool edj_mgr_reload_need_get(void);
|
||||
void edj_mgr_clear(void);
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#define DEFAULT_GOTO_WIN_W 330
|
||||
#define DEFAULT_GOTO_WIN_H 77
|
||||
void goto_open(edit_data *ed);
|
||||
void goto_close();
|
||||
Eina_Bool goto_is_opened();
|
||||
void goto_close(void);
|
||||
Eina_Bool goto_is_opened(void);
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
void menu_init(edit_data *ed);
|
||||
void menu_term();
|
||||
void menu_toggle();
|
||||
void menu_term(void);
|
||||
void menu_toggle(void);
|
||||
void menu_ctxpopup_register(Evas_Object *ctxpopup);
|
||||
void menu_ctxpopup_unregister(Evas_Object *ctxpopup);
|
||||
void menu_edc_new();
|
||||
void menu_edc_save();
|
||||
void menu_edc_load();
|
||||
void menu_exit();
|
||||
void menu_about();
|
||||
void menu_setting();
|
||||
int menu_activated_get();
|
||||
void menu_activate_request();
|
||||
void menu_deactivate_request();
|
||||
void menu_edc_new(void);
|
||||
void menu_edc_save(void);
|
||||
void menu_edc_load(void);
|
||||
void menu_exit(void);
|
||||
void menu_about(void);
|
||||
void menu_setting(void);
|
||||
int menu_activated_get(void);
|
||||
void menu_activate_request(void);
|
||||
void menu_deactivate_request(void);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
void newfile_default_set();
|
||||
void newfile_default_set(void);
|
||||
void newfile_set(edit_data *ed);
|
||||
Evas_Object * newfile_create(Evas_Object *parent, Evas_Smart_Cb selected_cb, void *data);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Evas_Object *panes_init(Evas_Object *parent);
|
||||
void panes_term();
|
||||
void panes_full_view_right();
|
||||
void panes_full_view_left();
|
||||
void panes_term(void);
|
||||
void panes_full_view_right(void);
|
||||
void panes_full_view_left(void);
|
||||
void panes_content_set(const char *part, Evas_Object *content);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#define DEFAULT_SEARCH_WIN_W 330
|
||||
#define DEFAULT_SEARCH_WIN_H 90
|
||||
void search_open();
|
||||
void search_close();
|
||||
Eina_Bool search_is_opened();
|
||||
void search_open(edit_data *ed);
|
||||
void search_close(void);
|
||||
Eina_Bool search_is_opened(void);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
void setting_open();
|
||||
void setting_close();
|
||||
Eina_Bool setting_is_opened();
|
||||
void setting_open(void);
|
||||
void setting_close(void);
|
||||
Eina_Bool setting_is_opened(void);
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
Evas_Object *stats_init(Evas_Object *parent);
|
||||
void stats_term();
|
||||
void stats_view_size_update();
|
||||
void stats_term(void);
|
||||
void stats_view_size_update(void);
|
||||
void stats_cursor_pos_update(Evas_Coord x, Evas_Coord y, float rel_x, float rel_y);
|
||||
void stats_info_msg_update(const char *msg);
|
||||
void stats_line_num_update(int cur_line, int max_line);
|
||||
Evas_Object *stats_obj_get();
|
||||
Evas_Object *stats_obj_get(void);
|
||||
void stats_edc_group_update(const char *group_name);
|
||||
Eina_Stringshare *stats_group_name_get();
|
||||
Eina_Stringshare *stats_group_name_get(void);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
syntax_helper *syntax_init();
|
||||
syntax_helper *syntax_init(void);
|
||||
void syntax_term(syntax_helper *sh);
|
||||
color_data *syntax_color_data_get(syntax_helper *sh);
|
||||
|
||||
|
|
Loading…
Reference in New Issue