view src/timeout.hh @ 2104:3e7e5395f0bc

non-ASCII keybindings Alexander Voigt has kindly done some testing, and it seems that this makes bindings to most keys on a German keyboard possible -- except those that need AltGr don't work yet.
author corvid <corvid@lavabit.com>
date Thu, 23 Jun 2011 19:24:11 +0000
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__ */