lb_system_event_all(LB_SYS_EVENT_LANG_CHANGED);
}
-static void app_service(service_h service, void *data)
+static void app_control(app_control_h service, void *data)
{
int ret;
char *name;
return;
}
- ret = service_get_extra_data(service, "name", &name);
+ ret = app_control_get_extra_data(service, "name", &name);
if (ret != SERVICE_ERROR_NONE) {
ErrPrint("Name is not valid\n");
return;
}
- ret = service_get_extra_data(service, "secured", &secured);
+ ret = app_control_get_extra_data(service, "secured", &secured);
if (ret != SERVICE_ERROR_NONE) {
free(name);
ErrPrint("Secured is not valid\n");
event_callback.terminate = app_terminate;
event_callback.pause = app_pause;
event_callback.resume = app_resume;
- event_callback.service = app_service;
+ event_callback.app_control = app_control;
event_callback.low_memory = NULL;
event_callback.low_battery = NULL;
event_callback.device_orientation = NULL;