serenity/Services/Clipboard/ClipboardClient.ipc
Andreas Kling cd29844632 LibIPC: Allow opt-in UTF-8 validation on message parameters
You can now mark String message parameters with the [UTF8] attribute.
This will cause the generated decoder to perform UTF-8 validation and
reject the message if the given parameter is not a valid UTF-8 string.

This frees up the receiving side from having to do this validation at
a higher level.
2020-05-16 14:13:09 +02:00

5 lines
88 B
Plaintext

endpoint ClipboardClient = 804
{
ClipboardDataChanged([UTF8] String mime_type) =|
}