userspace: Implement LibClipboard and ClipboardServer

programs can now connect to the clipboard server using libclipboard and
get and set the clipboard of the current user
This commit is contained in:
2025-11-18 02:53:55 +02:00
parent d60f12d3b8
commit 291f298d19
7 changed files with 527 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
set(LIBCLIPBOARD_SOURCES
Clipboard.cpp
)
add_library(libclipboard ${LIBCLIPBOARD_SOURCES})
banan_link_library(libclipboard ban)
banan_link_library(libclipboard libc)
banan_install_headers(libclipboard)
install(TARGETS libclipboard OPTIONAL)