view src/timeout.hh @ 2042:8f021c978252

fix excessive redraws on pages with bugs
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sat, 21 May 2011 00:02:26 +0200
parents 6ee11bf9e3ea
children
line wrap: on
line source
#ifndef __TIMEOUT_HH__
#define __TIMEOUT_HH__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

typedef void (*TimeoutCb_t)(void *data);

void a_Timeout_add(float t, TimeoutCb_t cb, void *cbdata);
void a_Timeout_repeat(float t, TimeoutCb_t cb, void *cbdata);
void a_Timeout_remove();


#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __TIMEOUT_HH__ */