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:
Spoike 2013-04-09 00:21:55 +00:00
parent 53f8676f83
commit 6ddd50e769

View file

@ -218,3 +218,20 @@ void INS_Commands (void)
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);
}