DEADSOFTWARE

migrating from PanelIDs to panel GUIDs; part two
[d2df-sdl.git] / src / lib / sdl2 / sdlclipboard.inc
2 {* Function prototypes *}
4 {**
5 * \brief Put UTF-8 text into the clipboard
6 *
7 * \sa SDL_GetClipboardText()
8 *}
9 function SDL_SetClipboardText(const text: PAnsiChar): Integer cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_SetClipboardText' {$ENDIF} {$ENDIF};
11 {**
12 * \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free()
13 *
14 * \sa SDL_SetClipboardText()
15 *}
16 function SDL_GetClipboardText(): PAnsiChar cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_GetClipboardText' {$ENDIF} {$ENDIF};
18 {**
19 * \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty
20 *
21 * \sa SDL_GetClipboardText()
22 *}
23 function SDL_HasClipboardText(): TSDL_Bool cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_HasClipboardText' {$ENDIF} {$ENDIF};