aboutsummaryrefslogtreecommitdiff
path: root/subprojects/d2tk/src/frontend_fbdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/d2tk/src/frontend_fbdev.c')
-rw-r--r--subprojects/d2tk/src/frontend_fbdev.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/subprojects/d2tk/src/frontend_fbdev.c b/subprojects/d2tk/src/frontend_fbdev.c
index e237ee5..3ae87ed 100644
--- a/subprojects/d2tk/src/frontend_fbdev.c
+++ b/subprojects/d2tk/src/frontend_fbdev.c
@@ -633,6 +633,12 @@ d2tk_frontend_poll(d2tk_frontend_t *fbdev __attribute__((unused)),
return 0;
}
+D2TK_API int
+d2tk_frontend_get_file_descriptors(d2tk_frontend_t *fbdev, int *fds, int numfds)
+{
+ return d2tk_base_get_file_descriptors(fbdev->base, fds, numfds);
+}
+
D2TK_API void
d2tk_frontend_run(d2tk_frontend_t *fbdev, const sig_atomic_t *done)
{
@@ -774,3 +780,24 @@ d2tk_frontend_get_scale()
{
return 1.f;
}
+
+D2TK_API int
+d2tk_frontend_set_clipboard(d2tk_frontend_t *dpugl, const char *type,
+ const void *buf, size_t buf_len)
+{
+ (void)dpugl;
+ (void)type;
+ (void)buf;
+ (void)buf_len;
+ return 1; //FIXME
+}
+
+D2TK_API const void *
+d2tk_frontend_get_clipboard(d2tk_frontend_t *dpugl, const char **type,
+ size_t *buf_len)
+{
+ (void)dpugl;
+ (void)type;
+ (void)buf_len;
+ return NULL; //FIXME
+}