aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llclipboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/llclipboard.h')
-rw-r--r--linden/indra/llui/llclipboard.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/linden/indra/llui/llclipboard.h b/linden/indra/llui/llclipboard.h
index 37ed1ff..034a7a6 100644
--- a/linden/indra/llui/llclipboard.h
+++ b/linden/indra/llui/llclipboard.h
@@ -44,10 +44,19 @@ public:
44 LLClipboard(); 44 LLClipboard();
45 ~LLClipboard(); 45 ~LLClipboard();
46 46
47 /* We support two flavors of clipboard. The default is the explicitly
48 copy-and-pasted clipboard. The second is the so-called 'primary' clipboard
49 which is implicitly copied upon selection on platforms which expect this
50 (i.e. X11/Linux). */
51
47 void copyFromSubstring(const LLWString &copy_from, S32 pos, S32 len, const LLUUID& source_id = LLUUID::null ); 52 void copyFromSubstring(const LLWString &copy_from, S32 pos, S32 len, const LLUUID& source_id = LLUUID::null );
48 BOOL canPasteString() const; 53 BOOL canPasteString() const;
49 const LLWString& getPasteWString(LLUUID* source_id = NULL); 54 const LLWString& getPasteWString(LLUUID* source_id = NULL);
50 55
56 void copyFromPrimarySubstring(const LLWString &copy_from, S32 pos, S32 len, const LLUUID& source_id = LLUUID::null );
57 BOOL canPastePrimaryString() const;
58 const LLWString& getPastePrimaryWString(LLUUID* source_id = NULL);
59
51private: 60private:
52 LLUUID mSourceID; 61 LLUUID mSourceID;
53 LLWString mString; 62 LLWString mString;