Ykkrosh
13f2e3ca0c
* Fixed some bugs with incorrect macro usage (SDL_BYTE_ORDER vs SDL_BYTEORDER, {MSC,GCC}_VER vs {MSC,GCC}_VERSION, OS_WIN/OS_UNIX in projects where they're not defined). * Removed some redundant declarations of g_Console. * Removed some unnecessary semicolons. * Removed some unused variables. * Added throw specification to operator new. This was SVN commit r4698.
21 lines
384 B
C++
21 lines
384 B
C++
#include "stdafx.h"
|
|
|
|
#include "AtlasClipboard.h"
|
|
|
|
// TODO: Do this properly, using the native clipboard. (That probably
|
|
// requires AtObj to be serialisable, though... Maybe just use XML?)
|
|
|
|
static AtObj g_Clipboard;
|
|
|
|
bool AtlasClipboard::SetClipboard(AtObj& in)
|
|
{
|
|
g_Clipboard = in;
|
|
return true;
|
|
}
|
|
|
|
bool AtlasClipboard::GetClipboard(AtObj& out)
|
|
{
|
|
out = g_Clipboard;
|
|
return true;
|
|
}
|