ATTR(signal_on_map_click)
ATTR(route_active)
ATTR(search_active)
+ATTR(unsuspend)
ATTR2(0x0002ffff,type_int_end)
ATTR2(0x00030000,type_string_begin)
ATTR(type)
callback_list_call_attr_0(this_->attr_cbl, attr_position);
navit_textfile_debug_log(this_, "type=trackpoint_tracked");
if (this_->gui && nv->speed > 2)
- gui_disable_suspend(this_->gui);
+ navit_disable_suspend();
transform(this_->trans, pro, &nv->coord, &cursor_pnt, 1, 0, 0, NULL);
if (this_->button_pressed != 1 && this_->follow_cursor && nv->follow_curr <= nv->follow &&
return 0;
}
+void
+navit_disable_suspend() {
+ gui_disable_suspend(global_navit->gui);
+ callback_list_call_attr_0(global_navit->attr_cbl,attr_unsuspend);
+}
+
int
navit_block(struct navit *this_, int block)
{
void navit_layout_switch(struct navit *n);
int navit_set_vehicle_by_name(struct navit *n,const char *name);
int navit_set_layout_by_name(struct navit *n, const char* name);
+void navit_disable_suspend();
void navit_destroy(struct navit *this_);
/* end of prototypes */
#ifdef __cplusplus