mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
include clipboard stuff for mac.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4308 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
53f8676f83
commit
6ddd50e769
1 changed files with 17 additions and 0 deletions
|
@ -218,3 +218,20 @@ void INS_Commands (void)
|
||||||
void INS_Move (float *movements, int pnum)
|
void INS_Move (float *movements, int pnum)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define SYS_CLIPBOARD_SIZE 256
|
||||||
|
static char clipboard_buffer[SYS_CLIPBOARD_SIZE] = {0};
|
||||||
|
|
||||||
|
char *Sys_GetClipboard(void)
|
||||||
|
{
|
||||||
|
return clipboard_buffer;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Sys_CloseClipboard(char *bf)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void Sys_SaveClipboard(char *text)
|
||||||
|
{
|
||||||
|
Q_strncpyz(clipboard_buffer, text, SYS_CLIPBOARD_SIZE);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue