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