From 420b91db29485df39fd6e724e782c449158811cb Mon Sep 17 00:00:00 2001 From: James Cook Date: Tue, 2 Jan 2007 08:33:20 +0000 Subject: Print done when done. --- indra/llui/llclipboard.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 indra/llui/llclipboard.h (limited to 'indra/llui/llclipboard.h') diff --git a/indra/llui/llclipboard.h b/indra/llui/llclipboard.h new file mode 100644 index 0000000000..a5bb4fc790 --- /dev/null +++ b/indra/llui/llclipboard.h @@ -0,0 +1,41 @@ +/** + * @file llclipboard.h + * @brief LLClipboard base class + * + * Copyright (c) 2001-$CurrentYear$, Linden Research, Inc. + * $License$ + */ + +#ifndef LL_LLCLIPBOARD_H +#define LL_LLCLIPBOARD_H + + +#include "llstring.h" +#include "lluuid.h" + +// +// Classes +// +class LLClipboard +{ +protected: + LLUUID mSourceID; + LLWString mString; + +public: + LLClipboard(); + ~LLClipboard(); + + void copyFromSubstring(const LLWString ©_from, S32 pos, S32 len, const LLUUID& source_id = LLUUID::null ); + + + BOOL canPasteString(); + LLWString getPasteWString(LLUUID* source_id = NULL); +}; + + +// Global singleton +extern LLClipboard gClipboard; + + +#endif // LL_LLCLIPBOARD_H -- cgit v1.2.3