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 () const
const LLWStringgetPasteWString (LLUUID *source_id=NULL)

Private Attributes

LLUUID mSourceID
LLWString mString


Detailed Description

Definition at line 40 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

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 51 of file llclipboard.h.

Referenced by copyFromSubstring(), and getPasteWString().

Definition at line 52 of file llclipboard.h.

Referenced by copyFromSubstring(), and getPasteWString().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:42:52 2008 for SecondLife by  doxygen 1.5.5