annotate 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
rev   line source
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
1 #ifndef __TIMEOUT_HH__
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
2 #define __TIMEOUT_HH__
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
3
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
4 #ifdef __cplusplus
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
5 extern "C" {
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
6 #endif /* __cplusplus */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
7
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
8 typedef void (*TimeoutCb_t)(void *data);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
9
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
10 void a_Timeout_add(float t, TimeoutCb_t cb, void *cbdata);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
11 void a_Timeout_repeat(float t, TimeoutCb_t cb, void *cbdata);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
12 void a_Timeout_remove();
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
13
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
14
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
15 #ifdef __cplusplus
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
16 }
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
17 #endif /* __cplusplus */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
18
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
19 #endif /* __TIMEOUT_HH__ */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
20