src/video/x11/SDL_x11clipboard.h
author Sam Lantinga
Sun, 20 Nov 2016 21:34:54 -0800
changeset 10638 d11daa346140
parent 9998 f67cf37e9cd4
child 10737 3406a0f8b041
permissions -rw-r--r--
Renaming of guard header names to quiet -Wreserved-id-macro
Patch contributed by Sylvain
slouken@4508
     1
/*
slouken@5535
     2
  Simple DirectMedia Layer
slouken@9998
     3
  Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org>
slouken@4508
     4
slouken@5535
     5
  This software is provided 'as-is', without any express or implied
slouken@5535
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@5535
     7
  arising from the use of this software.
slouken@4508
     8
slouken@5535
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@5535
    10
  including commercial applications, and to alter it and redistribute it
slouken@5535
    11
  freely, subject to the following restrictions:
slouken@4508
    12
slouken@5535
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@5535
    14
     claim that you wrote the original software. If you use this software
slouken@5535
    15
     in a product, an acknowledgment in the product documentation would be
slouken@5535
    16
     appreciated but is not required.
slouken@5535
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@5535
    18
     misrepresented as being the original software.
slouken@5535
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@4508
    20
*/
icculus@8093
    21
#include "../../SDL_internal.h"
slouken@4508
    22
slouken@10638
    23
#ifndef SDL_x11clipboard_h_
slouken@10638
    24
#define SDL_x11clipboard_h_
slouken@4508
    25
slouken@4508
    26
extern int X11_SetClipboardText(_THIS, const char *text);
slouken@4508
    27
extern char *X11_GetClipboardText(_THIS);
slouken@4508
    28
extern SDL_bool X11_HasClipboardText(_THIS);
dimitris@9578
    29
extern Atom X11_GetSDLCutBufferClipboardType(Display *display);
slouken@4508
    30
slouken@10638
    31
#endif /* SDL_x11clipboard_h_ */
slouken@4508
    32
slouken@4508
    33
/* vi: set ts=4 sw=4 expandtab: */