Logo Search packages:      
Sourcecode: libgphoto2 version File versions

void gp_context_idle ( GPContext context  ) 

Notify frontend of a brief idle time.

Tells the frontend that it can do other processing at this moment, like refresh the UI. Backends should call this function every time when an interruption of the transfer is possible.

Parameters:
context a GPContext

Definition at line 136 of file gphoto2-context.c.

References _GPContext::idle_func, and _GPContext::idle_func_data.

{
      if (!context)
            return;

      if (context->idle_func)
            context->idle_func (context, context->idle_func_data);
}


Generated by  Doxygen 1.6.0   Back to index