#include <llclipboard.h>

Public Member Functions | |
| LLClipboard () | |
| ~LLClipboard () | |
| void | copyFromSubstring (const LLWString ©_from, S32 pos, S32 len, const LLUUID &source_id=LLUUID::null) |
| BOOL | canPasteString () const |
| const LLWString & | getPasteWString (LLUUID *source_id=NULL) |
Private Attributes | |
| LLUUID | mSourceID |
| LLWString | mString |
Definition at line 40 of file llclipboard.h.
| LLClipboard::LLClipboard | ( | ) |
Definition at line 46 of file llclipboard.cpp.
| LLClipboard::~LLClipboard | ( | ) |
Definition at line 51 of file llclipboard.cpp.
| void LLClipboard::copyFromSubstring | ( | const LLWString & | copy_from, | |
| S32 | pos, | |||
| S32 | len, | |||
| const LLUUID & | source_id = LLUUID::null | |||
| ) |
Definition at line 56 of file llclipboard.cpp.
References LLWindow::copyTextToClipboard(), LLView::getWindow(), mSourceID, and mString.
Referenced by LLTextEditor::copy(), LLScrollListCtrl::copy(), LLLineEditor::copy(), LLTextEditor::cut(), and LLLineEditor::cut().


| BOOL LLClipboard::canPasteString | ( | ) | const |
Definition at line 91 of file llclipboard.cpp.
References LLView::getWindow(), and LLWindow::isClipboardTextAvailable().
Referenced by LLTextEditor::canPaste(), and LLLineEditor::canPaste().


Definition at line 64 of file llclipboard.cpp.
References LLView::getWindow(), mSourceID, mString, LLUUID::notNull(), LLWindow::pasteTextFromClipboard(), and LLUUID::setNull().
Referenced by LLTextEditor::paste(), and LLLineEditor::paste().


LLUUID LLClipboard::mSourceID [private] |
Definition at line 51 of file llclipboard.h.
Referenced by copyFromSubstring(), and getPasteWString().
LLWString LLClipboard::mString [private] |
Definition at line 52 of file llclipboard.h.
Referenced by copyFromSubstring(), and getPasteWString().
1.5.5