NetSurf
|
win32 clipboard implementation. More...
#include <windows.h>
#include "utils/log.h"
#include "netsurf/clipboard.h"
#include "windows/clipboard.h"
Go to the source code of this file.
Functions | |
static void | gui_get_clipboard (char **buffer, size_t *length) |
Core asks front end for clipboard contents. More... | |
static void | gui_set_clipboard (const char *buffer, size_t length, nsclipboard_styles styles[], int n_styles) |
Core tells front end to put given text in clipboard. More... | |
Variables | |
static struct gui_clipboard_table | clipboard_table |
struct gui_clipboard_table * | win32_clipboard_table = &clipboard_table |
The clipboard operation function table for win32. More... | |
win32 clipboard implementation.
Definition in file clipboard.c.
|
static |
Core asks front end for clipboard contents.
buffer | UTF-8 text, allocated by front end, ownership yeilded to core |
length | Byte length of UTF-8 text in buffer |
Definition at line 37 of file clipboard.c.
References buffer.
|
static |
Core tells front end to put given text in clipboard.
buffer | UTF-8 text, owned by core |
length | Byte length of UTF-8 text in buffer |
styles | Array of styles given to text runs, owned by core, or NULL |
n_styles | Number of text run styles in array |
Definition at line 91 of file clipboard.c.
References buffer.
|
static |
Definition at line 126 of file clipboard.c.
struct gui_clipboard_table* win32_clipboard_table = &clipboard_table |
The clipboard operation function table for win32.
Definition at line 131 of file clipboard.c.
Referenced by WinMain().