LLClipboard Class Reference

#include <llclipboard.h>

Collaboration diagram for LLClipboard:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLClipboard ()
 ~LLClipboard ()
void copyFromSubstring (const LLWString &copy_from, S32 pos, S32 len, const LLUUID &source_id=LLUUID::null)
BOOL canPasteString ()
LLWString getPasteWString (LLUUID *source_id=NULL)

Protected Attributes

LLUUID mSourceID
LLWString mString

Detailed Description

Definition at line 42 of file llclipboard.h.


Constructor & Destructor Documentation

LLClipboard::LLClipboard (  ) 

Definition at line 46 of file llclipboard.cpp.

LLClipboard::~LLClipboard (  ) 

Definition at line 51 of file llclipboard.cpp.


Member Function Documentation

BOOL LLClipboard::canPasteString (  ) 

Definition at line 91 of file llclipboard.cpp.

References LLView::getWindow(), and LLWindow::isClipboardTextAvailable().

Referenced by LLTextEditor::canPaste(), and LLLineEditor::canPaste().

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().

LLWString LLClipboard::getPasteWString ( LLUUID source_id = NULL  ) 

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().


Member Data Documentation

LLUUID LLClipboard::mSourceID [protected]

Definition at line 45 of file llclipboard.h.

Referenced by copyFromSubstring(), and getPasteWString().

LLWString LLClipboard::mString [protected]

Definition at line 46 of file llclipboard.h.

Referenced by copyFromSubstring(), and getPasteWString().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:12 2010 for Second Life Viewer by  doxygen 1.4.7