1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Move declaration of write_aclip into winstuff.h.

It's actually a function specific to the Windows front end, and has
been all along - but I've only just noticed that no other front end
either uses it or defines it.
This commit is contained in:
Simon Tatham 2017-12-09 11:57:34 +00:00
parent f26654f618
commit 9bff5595a2
2 changed files with 7 additions and 1 deletions

View File

@ -635,7 +635,6 @@ void free_ctx(Context);
void palette_set(void *frontend, int, int, int, int);
void palette_reset(void *frontend);
int palette_get(void *frontend, int n, int *r, int *g, int *b);
void write_aclip(void *frontend, char *, int, int);
void write_clip(void *frontend, wchar_t *, int *, truecolour *, int, int);
void optimised_move(void *frontend, int, int, int);
void set_raw_mouse_mode(void *frontend, int);

View File

@ -242,6 +242,13 @@ void quit_help(HWND hwnd);
GLOBAL Terminal *term;
GLOBAL void *logctx;
/*
* Windows-specific clipboard helper function shared with windlg.c,
* which takes the data string in the system code page instead of
* Unicode.
*/
void write_aclip(void *frontend, char *, int, int);
#define WM_NETEVENT (WM_APP + 5)
/*