forked from enlightenment/edi
Improving portability again
This commit is contained in:
parent
6de4f7b14c
commit
823c2e2a86
|
@ -20,7 +20,7 @@
|
|||
static Evas_Object *_console_box;
|
||||
static const char *_current_dir = NULL;
|
||||
|
||||
static uint _edi_strlen_current_dir;
|
||||
static unsigned int _edi_strlen_current_dir;
|
||||
static int _edi_test_count;
|
||||
static int _edi_test_pass;
|
||||
static int _edi_test_fail;
|
||||
|
@ -168,17 +168,17 @@ static void _edi_consolepanel_append_line_type(const char *line, Eina_Bool err)
|
|||
_edi_test_line_callback(line);
|
||||
}
|
||||
|
||||
void edi_consolepanel_append_line(const char *line)
|
||||
EAPI void edi_consolepanel_append_line(const char *line)
|
||||
{
|
||||
_edi_consolepanel_append_line_type(line, EINA_FALSE);
|
||||
}
|
||||
|
||||
void edi_consolepanel_append_error_line(const char *line)
|
||||
EAPI void edi_consolepanel_append_error_line(const char *line)
|
||||
{
|
||||
_edi_consolepanel_append_line_type(line, EINA_TRUE);
|
||||
}
|
||||
|
||||
void edi_consolepanel_clear()
|
||||
EAPI void edi_consolepanel_clear()
|
||||
{
|
||||
elm_box_clear(_console_box);
|
||||
|
||||
|
@ -311,7 +311,7 @@ static void _edi_test_line_callback(const char *content)
|
|||
}
|
||||
}
|
||||
|
||||
void edi_consolepanel_add(Evas_Object *parent)
|
||||
EAPI void edi_consolepanel_add(Evas_Object *parent)
|
||||
{
|
||||
Evas_Object *scroll, *vbx;
|
||||
|
||||
|
@ -333,7 +333,7 @@ void edi_consolepanel_add(Evas_Object *parent)
|
|||
ecore_event_handler_add(ECORE_EXE_EVENT_ERROR, _exe_error, NULL);
|
||||
}
|
||||
|
||||
void edi_testpanel_add(Evas_Object *parent)
|
||||
EAPI void edi_testpanel_add(Evas_Object *parent)
|
||||
{
|
||||
Elm_Code *code;
|
||||
Evas_Object *widget;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
static Evas_Object *_info_widget;
|
||||
static Elm_Code *_elm_code;
|
||||
|
||||
void print_cb(const Eina_Log_Domain *domain,
|
||||
static void _print_cb(const Eina_Log_Domain *domain,
|
||||
Eina_Log_Level level,
|
||||
const char *file,
|
||||
const char *fnc,
|
||||
|
@ -38,7 +38,7 @@ void print_cb(const Eina_Log_Domain *domain,
|
|||
}
|
||||
}
|
||||
|
||||
void edi_logpanel_add(Evas_Object *parent)
|
||||
EAPI void edi_logpanel_add(Evas_Object *parent)
|
||||
{
|
||||
Evas_Object *widget;
|
||||
Elm_Code *code;
|
||||
|
@ -53,7 +53,7 @@ void edi_logpanel_add(Evas_Object *parent)
|
|||
_elm_code = code;
|
||||
_info_widget = widget;
|
||||
|
||||
eina_log_print_cb_set(print_cb, NULL);
|
||||
eina_log_print_cb_set(_print_cb, NULL);
|
||||
eina_log_color_disable_set(EINA_TRUE);
|
||||
|
||||
elm_box_pack_end(parent, widget);
|
||||
|
|
|
@ -282,14 +282,14 @@ _edi_panel_dragged_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
|||
_edi_panel_size_save(data == _edi_filepanel);
|
||||
}
|
||||
|
||||
void
|
||||
EAPI void
|
||||
edi_consolepanel_show()
|
||||
{
|
||||
if (_edi_selected_bottompanel != _edi_consolepanel_item)
|
||||
elm_toolbar_item_selected_set(_edi_consolepanel_item, EINA_TRUE);
|
||||
}
|
||||
|
||||
void
|
||||
EAPI void
|
||||
edi_testpanel_show()
|
||||
{
|
||||
if (_edi_selected_bottompanel != _edi_testpanel_item)
|
||||
|
|
|
@ -68,7 +68,7 @@ _edi_message_open(const char *message)
|
|||
}
|
||||
|
||||
static void
|
||||
_edi_welcome_project_open(const char *path, const uint _edi_creating)
|
||||
_edi_welcome_project_open(const char *path, const unsigned int _edi_creating)
|
||||
{
|
||||
edi_project_set(path);
|
||||
|
||||
|
@ -299,7 +299,7 @@ _edi_welcome_add_recent_projects(Evas_Object *box)
|
|||
evas_object_show(list);
|
||||
}
|
||||
|
||||
Evas_Object *edi_welcome_show()
|
||||
EAPI Evas_Object *edi_welcome_show()
|
||||
{
|
||||
Evas_Object *win, *hbx, *box, *button, *label, *image, *naviframe;
|
||||
Elm_Object_Item *item;
|
||||
|
|
Loading…
Reference in New Issue