The Battle for Wesnoth  1.19.0-dev
Namespaces | Macros | Functions
clipboard.cpp File Reference
#include "desktop/clipboard.hpp"
#include <SDL2/SDL_events.h>
#include <SDL2/SDL_clipboard.h>
Include dependency graph for clipboard.cpp:

Go to the source code of this file.

Namespaces

 desktop
 
 desktop::clipboard
 

Macros

#define CLIPBOARD_FUNCS_DEFINED
 

Functions

void desktop::clipboard::copy_to_clipboard (const std::string &text, const bool mouse)
 Copies text to the clipboard. More...
 
std::string desktop::clipboard::copy_from_clipboard (const bool mouse)
 Copies text from the clipboard. More...
 
void desktop::clipboard::handle_system_event (const SDL_Event &)
 
bool desktop::clipboard::available ()
 Whether wesnoth was compiled with support for a clipboard. More...
 

Macro Definition Documentation

◆ CLIPBOARD_FUNCS_DEFINED

#define CLIPBOARD_FUNCS_DEFINED

Definition at line 21 of file clipboard.cpp.