Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
timeout.cc File Reference

Simple ADT for timeout functions. More...

#include <FL/Fl.H>
#include "timeout.hh"
Include dependency graph for timeout.cc:

Go to the source code of this file.

Functions

void a_Timeout_add (float t, TimeoutCb_t cb, void *cbdata)
 Hook a one-time timeout function 'cb' after 't' seconds with 'cbdata" as its data.
 
void a_Timeout_repeat (float t, TimeoutCb_t cb, void *cbdata)
 To be called from inside the 'cb' function when it wants to keep running.
 
void a_Timeout_remove ()
 Stop running a timeout function.
 

Detailed Description

Simple ADT for timeout functions.

Definition in file timeout.cc.

Function Documentation

◆ a_Timeout_add()

void a_Timeout_add ( float  t,
TimeoutCb_t  cb,
void *  cbdata 
)

◆ a_Timeout_remove()

void a_Timeout_remove ( void  )

◆ a_Timeout_repeat()

void a_Timeout_repeat ( float  t,
TimeoutCb_t  cb,
void *  cbdata 
)

To be called from inside the 'cb' function when it wants to keep running.

Definition at line 33 of file timeout.cc.