LLTaskInvFVBridge Class Reference

Inheritance diagram for LLTaskInvFVBridge:

Inheritance graph
[legend]
Collaboration diagram for LLTaskInvFVBridge:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLTaskInvFVBridge (LLPanelInventory *panel, const LLUUID &uuid, const LLString &name, U32 flags=0)
virtual ~LLTaskInvFVBridge (void)
virtual LLFontGL::StyleFlags getLabelStyle () const
virtual LLString getLabelSuffix () const
void showProperties ()
void buyItem ()
S32 getPrice ()
virtual const LLStringgetName () const
virtual const LLStringgetDisplayName () const
virtual PermissionMask getPermissionMask () const
virtual const LLUUIDgetUUID () const
virtual U32 getCreationDate () const
virtual LLUIImagePtr getIcon () const
virtual void openItem ()
virtual void previewItem ()
virtual void selectItem ()
virtual BOOL isItemRenameable () const
virtual BOOL renameItem (const LLString &new_name)
virtual BOOL isItemMovable ()
virtual BOOL isItemRemovable ()
virtual BOOL removeItem ()
virtual void removeBatch (LLDynamicArray< LLFolderViewEventListener * > &batch)
virtual void move (LLFolderViewEventListener *parent_listener)
virtual BOOL isItemCopyable () const
virtual BOOL copyToClipboard () const
virtual void cutToClipboard ()
virtual BOOL isClipboardPasteable () const
virtual void pasteFromClipboard ()
virtual void buildContextMenu (LLMenuGL &menu, U32 flags)
virtual void performAction (LLFolderView *folder, LLInventoryModel *model, LLString action)
virtual BOOL isUpToDate () const
virtual BOOL hasChildren () const
virtual LLInventoryType::EType getInventoryType () const
virtual BOOL startDrag (EDragAndDropType *type, LLUUID *id) const
virtual BOOL dragOrDrop (MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data)

Static Public Member Functions

static LLTaskInvFVBridgecreateObjectBridge (LLPanelInventory *panel, LLInventoryObject *object)
static void commitBuyItem (S32 option, void *data)

Protected Member Functions

LLInventoryItemfindItem () const

Protected Attributes

LLUUID mUUID
LLString mName
LLString mDisplayName
LLPanelInventorymPanel
U32 mFlags


Detailed Description

---------------------------------------------------------------------------- Local function declarations, constants, enums, and typedefs ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- Class LLTaskInvFVBridge ----------------------------------------------------------------------------

Definition at line 93 of file llpanelinventory.cpp.


Constructor & Destructor Documentation

LLTaskInvFVBridge::LLTaskInvFVBridge ( LLPanelInventory panel,
const LLUUID uuid,
const LLString name,
U32  flags = 0 
)

Definition at line 158 of file llpanelinventory.cpp.

virtual LLTaskInvFVBridge::~LLTaskInvFVBridge ( void   )  [inline, virtual]

Definition at line 110 of file llpanelinventory.cpp.


Member Function Documentation

LLInventoryItem * LLTaskInvFVBridge::findItem (  )  const [protected]

virtual LLFontGL::StyleFlags LLTaskInvFVBridge::getLabelStyle (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 112 of file llpanelinventory.cpp.

References LLFontGL::NORMAL.

virtual LLString LLTaskInvFVBridge::getLabelSuffix (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 113 of file llpanelinventory.cpp.

References LLStringBase< char >::null.

LLTaskInvFVBridge * LLTaskInvFVBridge::createObjectBridge ( LLPanelInventory panel,
LLInventoryObject object 
) [static]

void LLTaskInvFVBridge::showProperties ( void   )  [virtual]

void LLTaskInvFVBridge::buyItem (  ) 

S32 LLTaskInvFVBridge::getPrice (  ) 

Definition at line 263 of file llpanelinventory.cpp.

References findItem(), LLInventoryItem::getSaleInfo(), and LLSaleInfo::getSalePrice().

Referenced by LLTaskSoundBridge::buildContextMenu(), buildContextMenu(), and performAction().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTaskInvFVBridge::commitBuyItem ( S32  option,
void *  data 
) [static]

const LLString & LLTaskInvFVBridge::getName ( void   )  const [virtual]

const LLString & LLTaskInvFVBridge::getDisplayName (  )  const [virtual]

virtual PermissionMask LLTaskInvFVBridge::getPermissionMask (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 125 of file llpanelinventory.cpp.

References PERM_NONE.

virtual const LLUUID& LLTaskInvFVBridge::getUUID (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 126 of file llpanelinventory.cpp.

References mUUID.

Referenced by removeBatch().

Here is the caller graph for this function:

U32 LLTaskInvFVBridge::getCreationDate (  )  const [virtual]

Implements LLFolderViewEventListener.

Definition at line 337 of file llpanelinventory.cpp.

Referenced by LLPanelInventory::createViewsForCategory().

Here is the caller graph for this function:

LLUIImagePtr LLTaskInvFVBridge::getIcon (  )  const [virtual]

void LLTaskInvFVBridge::openItem ( void   )  [virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLTaskTextureBridge, LLTaskSoundBridge, LLTaskLSLBridge, LLTaskNotecardBridge, LLTaskGestureBridge, and LLTaskAnimationBridge.

Definition at line 353 of file llpanelinventory.cpp.

References lldebugs, and llendl.

Referenced by performAction(), and previewItem().

Here is the caller graph for this function:

void LLTaskInvFVBridge::previewItem ( void   )  [virtual]

Implements LLFolderViewEventListener.

Definition at line 359 of file llpanelinventory.cpp.

References openItem().

Here is the call graph for this function:

virtual void LLTaskInvFVBridge::selectItem ( void   )  [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 131 of file llpanelinventory.cpp.

BOOL LLTaskInvFVBridge::isItemRenameable (  )  const [virtual]

BOOL LLTaskInvFVBridge::renameItem ( const LLString new_name  )  [virtual]

BOOL LLTaskInvFVBridge::isItemMovable ( void   )  [virtual]

Implements LLFolderViewEventListener.

Definition at line 402 of file llpanelinventory.cpp.

References TRUE.

BOOL LLTaskInvFVBridge::isItemRemovable ( void   )  [virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLTaskCategoryBridge.

Definition at line 413 of file llpanelinventory.cpp.

References FALSE, LLViewerObjectList::findObject(), LLPanelInventory::getTaskUUID(), gObjectList, mPanel, LLViewerObject::permModify(), and TRUE.

Referenced by LLTaskSoundBridge::buildContextMenu(), buildContextMenu(), removeBatch(), and removeItem().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLTaskInvFVBridge::removeItem (  )  [virtual]

void LLTaskInvFVBridge::removeBatch ( LLDynamicArray< LLFolderViewEventListener * > &  batch  )  [virtual]

void LLTaskInvFVBridge::move ( LLFolderViewEventListener parent_listener  )  [virtual]

Implements LLFolderViewEventListener.

Definition at line 516 of file llpanelinventory.cpp.

BOOL LLTaskInvFVBridge::isItemCopyable (  )  const [virtual]

Implements LLFolderViewEventListener.

Definition at line 520 of file llpanelinventory.cpp.

References LLAgent::allowOperation(), FALSE, findItem(), gAgent, LLInventoryItem::getPermissions(), GP_OBJECT_MANIPULATE, and PERM_COPY.

Referenced by LLTaskSoundBridge::buildContextMenu(), and buildContextMenu().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLTaskInvFVBridge::copyToClipboard (  )  const [virtual]

Implements LLFolderViewEventListener.

Definition at line 528 of file llpanelinventory.cpp.

References FALSE.

void LLTaskInvFVBridge::cutToClipboard (  )  [virtual]

Implements LLFolderViewEventListener.

Definition at line 533 of file llpanelinventory.cpp.

BOOL LLTaskInvFVBridge::isClipboardPasteable (  )  const [virtual]

Implements LLFolderViewEventListener.

Definition at line 537 of file llpanelinventory.cpp.

References FALSE.

void LLTaskInvFVBridge::pasteFromClipboard (  )  [virtual]

Implements LLFolderViewEventListener.

Definition at line 542 of file llpanelinventory.cpp.

void LLTaskInvFVBridge::buildContextMenu ( LLMenuGL menu,
U32  flags 
) [virtual]

void LLTaskInvFVBridge::performAction ( LLFolderView folder,
LLInventoryModel model,
LLString  action 
) [virtual]

Reimplemented from LLFolderViewEventListener.

Reimplemented in LLTaskSoundBridge.

Definition at line 598 of file llpanelinventory.cpp.

References LLFloaterBuyCurrency::buyCurrency(), buyItem(), LLStatusBar::getBalance(), getPrice(), gStatusBar, llendl, llwarns, openItem(), S32, and showProperties().

Referenced by LLTaskSoundBridge::performAction().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual BOOL LLTaskInvFVBridge::isUpToDate (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 146 of file llpanelinventory.cpp.

References TRUE.

virtual BOOL LLTaskInvFVBridge::hasChildren (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLTaskCategoryBridge.

Definition at line 147 of file llpanelinventory.cpp.

References FALSE.

virtual LLInventoryType::EType LLTaskInvFVBridge::getInventoryType (  )  const [inline, virtual]

Implements LLFolderViewEventListener.

Definition at line 148 of file llpanelinventory.cpp.

References LLInventoryType::IT_NONE.

BOOL LLTaskInvFVBridge::startDrag ( EDragAndDropType type,
LLUUID id 
) const [virtual]

BOOL LLTaskInvFVBridge::dragOrDrop ( MASK  mask,
BOOL  drop,
EDragAndDropType  cargo_type,
void *  cargo_data 
) [virtual]

Implements LLFolderViewEventListener.

Reimplemented in LLTaskCategoryBridge.

Definition at line 584 of file llpanelinventory.cpp.

References FALSE.


Member Data Documentation

Definition at line 97 of file llpanelinventory.cpp.

Referenced by getName().

Definition at line 98 of file llpanelinventory.cpp.

Referenced by getDisplayName().


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

Generated on Fri May 16 09:10:20 2008 for SecondLife by  doxygen 1.5.5