annotate src/timeout.hh @ 2149:9d1ff8be799c tip

disable 'Found font:' messages
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sun, 24 Jul 2011 22:17:57 +0200
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