aboutsummaryrefslogtreecommitdiff
path: root/example/example.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-11-19 08:58:19 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-11-19 08:58:19 +0100
commit61911b8e7a1e6b6c01d9913f43856c23813e3441 (patch)
tree371eb30053485d8b52905c1d5202b08b74270dd4 /example/example.h
parentecc325430495dedab27926008f671c8e2b0e2d91 (diff)
downloadd2tk-61911b8e7a1e6b6c01d9913f43856c23813e3441.tar.xz
uinput: migrate fake keyboard into example.
Diffstat (limited to 'example/example.h')
-rw-r--r--example/example.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/example/example.h b/example/example.h
index 477b386..e3d5736 100644
--- a/example/example.h
+++ b/example/example.h
@@ -24,8 +24,14 @@
extern "C" {
#endif
-void
-d2tk_example(d2tk_base_t *base, d2tk_coord_t w, d2tk_coord_t h);
+D2TK_API int
+d2tk_example_init(void);
+
+D2TK_API void
+d2tk_example_deinit();
+
+D2TK_API void
+d2tk_example_run(d2tk_base_t *base, d2tk_coord_t w, d2tk_coord_t h);
#ifdef __cplusplus
}