1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 16:17:47 +00:00

SpiceAgent: Handle file transfer requests properly :^)

Now, we write the data recieved to a file when the user drags a file
onto the Spice Viewer window. Once complete, the FileExplorer will open
with the copied file highlighted.
This commit is contained in:
Caoimhe 2023-05-19 23:32:16 +01:00 committed by Andreas Kling
parent d87f823a68
commit 0f3f190a5a
6 changed files with 215 additions and 2 deletions

View file

@ -5,10 +5,11 @@ serenity_component(
set(SOURCES
main.cpp
FileTransferOperation.cpp
Message.cpp
SpiceAgent.cpp
)
serenity_bin(SpiceAgent)
target_link_libraries(SpiceAgent PRIVATE LibCore LibGfx LibGUI LibMain)
target_link_libraries(SpiceAgent PRIVATE LibCore LibDesktop LibFileSystem LibGfx LibGUI LibMain)
add_dependencies(SpiceAgent Clipboard)