parent
84d313fdd1
commit
601fa7faa8
|
@ -33,7 +33,9 @@ e_ofono_theme_path(void)
|
|||
static void _ofono_popup_del(E_Ofono_Instance *inst);
|
||||
|
||||
static Eina_Bool
|
||||
_ofono_popup_input_window_mouse_up_cb(void *data, int type __UNUSED__, void *event)
|
||||
_ofono_popup_input_window_mouse_up_cb(void *data,
|
||||
int type __UNUSED__,
|
||||
void *event)
|
||||
{
|
||||
Ecore_Event_Mouse_Button *ev = event;
|
||||
E_Ofono_Instance *inst = data;
|
||||
|
@ -47,7 +49,9 @@ _ofono_popup_input_window_mouse_up_cb(void *data, int type __UNUSED__, void *eve
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_ofono_popup_input_window_key_down_cb(void *data, int type __UNUSED__, void *event)
|
||||
_ofono_popup_input_window_key_down_cb(void *data,
|
||||
int type __UNUSED__,
|
||||
void *event)
|
||||
{
|
||||
Ecore_Event_Key *ev = event;
|
||||
E_Ofono_Instance *inst = data;
|
||||
|
@ -105,7 +109,9 @@ _ofono_popup_input_window_create(E_Ofono_Instance *inst)
|
|||
}
|
||||
|
||||
static void
|
||||
_ofono_toggle_powered_cb(void *data, DBusMessage *msg __UNUSED__, DBusError *error)
|
||||
_ofono_toggle_powered_cb(void *data,
|
||||
DBusMessage *msg __UNUSED__,
|
||||
DBusError *error)
|
||||
{
|
||||
E_Ofono_Instance *inst = data;
|
||||
|
||||
|
@ -121,7 +127,9 @@ _ofono_toggle_powered_cb(void *data, DBusMessage *msg __UNUSED__, DBusError *err
|
|||
}
|
||||
|
||||
static void
|
||||
_ofono_popup_cb_powered_changed(void *data, Evas_Object *obj, void *event __UNUSED__)
|
||||
_ofono_popup_cb_powered_changed(void *data,
|
||||
Evas_Object *obj,
|
||||
void *event __UNUSED__)
|
||||
{
|
||||
E_Ofono_Instance *inst = data;
|
||||
E_Ofono_Module_Context *ctxt = inst->ctxt;
|
||||
|
@ -209,7 +217,8 @@ _ofono_popup_new(E_Ofono_Instance *inst)
|
|||
}
|
||||
|
||||
static void
|
||||
_ofono_menu_cb_post(void *data, E_Menu *menu __UNUSED__)
|
||||
_ofono_menu_cb_post(void *data,
|
||||
E_Menu *menu __UNUSED__)
|
||||
{
|
||||
E_Ofono_Instance *inst = data;
|
||||
if ((!inst) || (!inst->menu))
|
||||
|
@ -222,7 +231,8 @@ _ofono_menu_cb_post(void *data, E_Menu *menu __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
_ofono_menu_new(E_Ofono_Instance *inst, Evas_Event_Mouse_Down *ev)
|
||||
_ofono_menu_new(E_Ofono_Instance *inst,
|
||||
Evas_Event_Mouse_Down *ev)
|
||||
{
|
||||
E_Zone *zone;
|
||||
E_Menu *m;
|
||||
|
@ -271,7 +281,10 @@ _ofono_tip_del(E_Ofono_Instance *inst)
|
|||
}
|
||||
|
||||
static void
|
||||
_ofono_cb_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event)
|
||||
_ofono_cb_mouse_down(void *data,
|
||||
Evas *evas __UNUSED__,
|
||||
Evas_Object *obj __UNUSED__,
|
||||
void *event)
|
||||
{
|
||||
E_Ofono_Instance *inst;
|
||||
Evas_Event_Mouse_Down *ev;
|
||||
|
@ -295,7 +308,10 @@ _ofono_cb_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSE
|
|||
}
|
||||
|
||||
static void
|
||||
_ofono_cb_mouse_in(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
|
||||
_ofono_cb_mouse_in(void *data,
|
||||
Evas *evas __UNUSED__,
|
||||
Evas_Object *obj __UNUSED__,
|
||||
void *event __UNUSED__)
|
||||
{
|
||||
E_Ofono_Instance *inst = data;
|
||||
|
||||
|
@ -306,7 +322,10 @@ _ofono_cb_mouse_in(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED_
|
|||
}
|
||||
|
||||
static void
|
||||
_ofono_cb_mouse_out(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
|
||||
_ofono_cb_mouse_out(void *data,
|
||||
Evas *evas __UNUSED__,
|
||||
Evas_Object *obj __UNUSED__,
|
||||
void *event __UNUSED__)
|
||||
{
|
||||
E_Ofono_Instance *inst = data;
|
||||
|
||||
|
@ -317,7 +336,8 @@ _ofono_cb_mouse_out(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED
|
|||
}
|
||||
|
||||
static void
|
||||
_ofono_edje_view_update(E_Ofono_Instance *inst, Evas_Object *o)
|
||||
_ofono_edje_view_update(E_Ofono_Instance *inst,
|
||||
Evas_Object *o)
|
||||
{
|
||||
Edje_Message_Int msg;
|
||||
char buf[128];
|
||||
|
@ -390,7 +410,10 @@ _ofono_gadget_update(E_Ofono_Instance *inst)
|
|||
/* Gadcon Api Functions */
|
||||
|
||||
static E_Gadcon_Client *
|
||||
_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
|
||||
_gc_init(E_Gadcon *gc,
|
||||
const char *name,
|
||||
const char *id,
|
||||
const char *style)
|
||||
{
|
||||
E_Ofono_Instance *inst;
|
||||
E_Ofono_Module_Context *ctxt;
|
||||
|
@ -473,7 +496,8 @@ _gc_shutdown(E_Gadcon_Client *gcc)
|
|||
}
|
||||
|
||||
static void
|
||||
_gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient __UNUSED__)
|
||||
_gc_orient(E_Gadcon_Client *gcc,
|
||||
E_Gadcon_Orient orient __UNUSED__)
|
||||
{
|
||||
e_gadcon_client_aspect_set(gcc, 16, 16);
|
||||
e_gadcon_client_min_size_set(gcc, 16, 16);
|
||||
|
@ -486,7 +510,8 @@ _gc_label(E_Gadcon_Client_Class *client_class __UNUSED__)
|
|||
}
|
||||
|
||||
static Evas_Object *
|
||||
_gc_icon(E_Gadcon_Client_Class *client_class __UNUSED__, Evas *evas)
|
||||
_gc_icon(E_Gadcon_Client_Class *client_class __UNUSED__,
|
||||
Evas *evas)
|
||||
{
|
||||
Evas_Object *o;
|
||||
|
||||
|
@ -535,7 +560,8 @@ _ofono_manager_changed_do(void *data)
|
|||
}
|
||||
|
||||
static void
|
||||
_ofono_manager_changed(void *data, const E_Ofono_Element *element __UNUSED__)
|
||||
_ofono_manager_changed(void *data,
|
||||
const E_Ofono_Element *element __UNUSED__)
|
||||
{
|
||||
E_Ofono_Module_Context *ctxt = data;
|
||||
if (ctxt->poller.manager_changed)
|
||||
|
@ -545,7 +571,9 @@ _ofono_manager_changed(void *data, const E_Ofono_Element *element __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_ofono_event_manager_in(void *data, int type __UNUSED__, void *event __UNUSED__)
|
||||
_ofono_event_manager_in(void *data,
|
||||
int type __UNUSED__,
|
||||
void *event __UNUSED__)
|
||||
{
|
||||
E_Ofono_Element *element;
|
||||
E_Ofono_Module_Context *ctxt = data;
|
||||
|
@ -566,7 +594,9 @@ _ofono_event_manager_in(void *data, int type __UNUSED__, void *event __UNUSED__)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_ofono_event_manager_out(void *data, int type __UNUSED__, void *event __UNUSED__)
|
||||
_ofono_event_manager_out(void *data,
|
||||
int type __UNUSED__,
|
||||
void *event __UNUSED__)
|
||||
{
|
||||
E_Ofono_Module_Context *ctxt = data;
|
||||
E_Ofono_Instance *inst;
|
||||
|
@ -583,7 +613,9 @@ _ofono_event_manager_out(void *data, int type __UNUSED__, void *event __UNUSED__
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_eofono_event_element_add(void *data, int type __UNUSED__, void *info)
|
||||
_eofono_event_element_add(void *data,
|
||||
int type __UNUSED__,
|
||||
void *info)
|
||||
{
|
||||
E_Ofono_Element *element = info;
|
||||
E_Ofono_Module_Context *ctxt = data;
|
||||
|
@ -627,7 +659,9 @@ _eofono_event_element_add(void *data, int type __UNUSED__, void *info)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_eofono_event_element_del(void *data, int type __UNUSED__, void *info)
|
||||
_eofono_event_element_del(void *data,
|
||||
int type __UNUSED__,
|
||||
void *info)
|
||||
{
|
||||
E_Ofono_Element *element = info;
|
||||
E_Ofono_Module_Context *ctxt = data;
|
||||
|
@ -667,7 +701,9 @@ _eofono_event_element_del(void *data, int type __UNUSED__, void *info)
|
|||
}
|
||||
|
||||
static Eina_Bool
|
||||
_eofono_event_element_updated(void *data, int type __UNUSED__, void *event_info)
|
||||
_eofono_event_element_updated(void *data,
|
||||
int type __UNUSED__,
|
||||
void *event_info)
|
||||
{
|
||||
E_Ofono_Element *element = event_info;
|
||||
E_Ofono_Module_Context *ctxt = data;
|
||||
|
@ -857,3 +893,4 @@ e_modapi_save(E_Module *m)
|
|||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -86,7 +86,8 @@ EAPI int e_modapi_save (E_Module *m);
|
|||
const char *e_ofono_theme_path(void);
|
||||
|
||||
static inline void
|
||||
_ofono_dbus_error_show(const char *msg, const DBusError *error)
|
||||
_ofono_dbus_error_show(const char *msg,
|
||||
const DBusError *error)
|
||||
{
|
||||
const char *name;
|
||||
|
||||
|
@ -111,4 +112,5 @@ _ofono_operation_error_show(const char *msg)
|
|||
_("Could not execute local operation:<br>%s"),
|
||||
msg);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue