The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions
clipboard.cpp File Reference
#include "desktop/clipboard.hpp"
#include "serialization/unicode.hpp"
#include <algorithm>
#include <SDL_events.h>
#include <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

#define CLIPBOARD_FUNCS_DEFINED

Definition at line 24 of file clipboard.cpp.