LLTextCmdInsertEmbeddedItem Class Reference

Inheritance diagram for LLTextCmdInsertEmbeddedItem:

Inheritance graph
[legend]
Collaboration diagram for LLTextCmdInsertEmbeddedItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTextCmdInsertEmbeddedItem (S32 pos, LLInventoryItem *item)
virtual BOOL execute (LLTextEditor *editor, S32 *delta)
virtual S32 undo (LLTextEditor *editor)
virtual S32 redo (LLTextEditor *editor)
virtual BOOL hasExtCharValue (llwchar value)

Private Attributes

LLPointer< LLInventoryItemmItem
llwchar mExtCharValue

Detailed Description

Definition at line 492 of file llviewertexteditor.cpp.


Constructor & Destructor Documentation

LLTextCmdInsertEmbeddedItem::LLTextCmdInsertEmbeddedItem ( S32  pos,
LLInventoryItem item 
) [inline]

Definition at line 495 of file llviewertexteditor.cpp.

References mItem.


Member Function Documentation

virtual BOOL LLTextCmdInsertEmbeddedItem::execute ( LLTextEditor editor,
S32 delta 
) [inline, virtual]

Implements LLTextCmd.

Definition at line 502 of file llviewertexteditor.cpp.

References FALSE, LLTextCmd::insert(), LLEmbeddedItems::insertEmbeddedItem(), LLViewerTextEditor::mEmbeddedItemList, mExtCharValue, mItem, LLTextCmd::mPos, and LLEmbeddedItems::removeUnusedChars().

virtual BOOL LLTextCmdInsertEmbeddedItem::hasExtCharValue ( llwchar  value  )  [inline, virtual]

Reimplemented from LLTextCmd.

Definition at line 530 of file llviewertexteditor.cpp.

References mExtCharValue.

virtual S32 LLTextCmdInsertEmbeddedItem::redo ( LLTextEditor editor  )  [inline, virtual]

Implements LLTextCmd.

Definition at line 523 of file llviewertexteditor.cpp.

References LLTextCmd::insert(), mExtCharValue, and LLTextCmd::mPos.

virtual S32 LLTextCmdInsertEmbeddedItem::undo ( LLTextEditor editor  )  [inline, virtual]

Implements LLTextCmd.

Definition at line 517 of file llviewertexteditor.cpp.

References LLTextCmd::mPos, and LLTextCmd::remove().


Member Data Documentation

llwchar LLTextCmdInsertEmbeddedItem::mExtCharValue [private]

Definition at line 537 of file llviewertexteditor.cpp.

Referenced by execute(), hasExtCharValue(), and redo().

LLPointer<LLInventoryItem> LLTextCmdInsertEmbeddedItem::mItem [private]

Definition at line 536 of file llviewertexteditor.cpp.

Referenced by execute(), and LLTextCmdInsertEmbeddedItem().


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