#include <llfloaterproject.h>
Inheritance diagram for LLNetwork2080Bridge:
Public Member Functions | |
LLNetwork2080Bridge (const U32 id, const LLString &name) | |
S32 | getID () const |
ID of this node This is the identifier assigned by the Netwok2080 backend. | |
virtual | ~LLNetwork2080Bridge (void) |
virtual LLFontGL::StyleFlags | getLabelStyle () const |
virtual LLString | getLabelSuffix () const |
virtual void | showProperties () |
virtual const LLString & | getName () const |
virtual const LLString & | getDisplayName () const |
virtual PermissionMask | getPermissionMask () const |
virtual const LLUUID & | getUUID () const |
virtual U32 | getCreationDate () const |
virtual LLViewerImage * | 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 |
Whether the node is up to date This indicates that the node (and its children) are fully loaded. | |
virtual BOOL | hasChildren () const |
Whether the node has children Note that this also applies to children that aren't currently loaded. This returning TRUE will result in an expandable node even if there's nothing in the tree under it yet. | |
virtual LLInventoryType::EType | getInventoryType () const |
virtual BOOL | startDrag (EDragAndDropType *type, LLUUID *id) |
virtual BOOL | dragOrDrop (MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data) |
virtual LLString | getChildrenURL () const |
Get the URL to retrieve the children of this node. | |
virtual LLString | getURL () const |
Get the URL to be loaded when this node is selected. | |
virtual bool | getQueueButtonsEnabled () const |
Whether the queue buttons need to be enabled when this node is selected. | |
void | setSortOrder (S32 order) |
Sets the sort order. | |
S32 | getSortOrder () const |
Gets the sort order. | |
Static Public Member Functions | |
static LLUUID | getRandomID () |
Generates a random identifier and returns it Used when we want to create a new item, but don't know what ID to give it. | |
static LLUUID | makeID (S32 id) |
Generate an UUID based on a S32 to an UUID form This is done to convert IDs sent by the server This of course is affected by endianess, but it doesn't matter as this is for local use only. | |
Protected Member Functions | |
LLInventoryItem * | findItem () const |
Protected Attributes | |
U32 | mID |
LLUUID | mUUID |
LLString | mName |
S32 | mSortOrder |
Definition at line 44 of file llfloaterproject.h.
Definition at line 55 of file llfloaterproject.h.
References getRandomID(), makeID(), mID, and mUUID.
virtual LLNetwork2080Bridge::~LLNetwork2080Bridge | ( | void | ) | [inline, virtual] |
Definition at line 75 of file llfloaterproject.h.
virtual BOOL LLNetwork2080Bridge::copyToClipboard | ( | ) | const [inline, virtual] |
Implements LLFolderViewEventListener.
Definition at line 99 of file llfloaterproject.h.
References FALSE.
void LLNetwork2080Bridge::cutToClipboard | ( | ) | [virtual] |
BOOL LLNetwork2080Bridge::dragOrDrop | ( | MASK | mask, | |
BOOL | drop, | |||
EDragAndDropType | cargo_type, | |||
void * | cargo_data | |||
) | [virtual] |
Implements LLFolderViewEventListener.
Definition at line 316 of file llfloaterproject.cpp.
References FALSE.
LLInventoryItem* LLNetwork2080Bridge::findItem | ( | ) | const [protected] |
virtual LLString LLNetwork2080Bridge::getChildrenURL | ( | ) | const [inline, virtual] |
Get the URL to retrieve the children of this node.
Reimplemented in LLNetwork2080FolderBridge.
Definition at line 167 of file llfloaterproject.h.
virtual U32 LLNetwork2080Bridge::getCreationDate | ( | ) | const [inline, virtual] |
virtual const LLString& LLNetwork2080Bridge::getDisplayName | ( | ) | const [inline, virtual] |
Implements LLFolderViewEventListener.
Definition at line 83 of file llfloaterproject.h.
References mName.
virtual LLViewerImage* LLNetwork2080Bridge::getIcon | ( | ) | const [inline, virtual] |
Implements LLFolderViewEventListener.
Reimplemented in LLNetwork2080FolderBridge, LLNetwork2080PlayableContentBridge, and LLNetwork2080PageBridge.
Definition at line 87 of file llfloaterproject.h.
References NULL.
Referenced by LLFloaterNetwork2080::addNode().
S32 LLNetwork2080Bridge::getID | ( | ) | const [inline] |
ID of this node This is the identifier assigned by the Netwok2080 backend.
Definition at line 73 of file llfloaterproject.h.
References mID.
Referenced by LLFloaterNetwork2080::addNode(), and LLFloaterNetwork2080::selectionCallback().
virtual LLInventoryType::EType LLNetwork2080Bridge::getInventoryType | ( | ) | const [inline, virtual] |
Implements LLFolderViewEventListener.
Definition at line 127 of file llfloaterproject.h.
References LLInventoryType::IT_NONE.
virtual LLFontGL::StyleFlags LLNetwork2080Bridge::getLabelStyle | ( | ) | const [inline, virtual] |
Implements LLFolderViewEventListener.
Definition at line 77 of file llfloaterproject.h.
References LLFontGL::NORMAL.
virtual LLString LLNetwork2080Bridge::getLabelSuffix | ( | ) | const [inline, virtual] |
Implements LLFolderViewEventListener.
Definition at line 78 of file llfloaterproject.h.
References LLStringBase< char >::null.
Implements LLFolderViewEventListener.
Definition at line 82 of file llfloaterproject.h.
References mName.
Referenced by LLFloaterNetwork2080::addNode().
virtual PermissionMask LLNetwork2080Bridge::getPermissionMask | ( | ) | const [inline, virtual] |
Implements LLFolderViewEventListener.
Definition at line 84 of file llfloaterproject.h.
References PERM_NONE.
virtual bool LLNetwork2080Bridge::getQueueButtonsEnabled | ( | ) | const [inline, virtual] |
Whether the queue buttons need to be enabled when this node is selected.
Reimplemented in LLNetwork2080PlayableContentBridge.
Definition at line 179 of file llfloaterproject.h.
References FALSE.
Referenced by LLFloaterNetwork2080::selectionCallback().
static LLUUID LLNetwork2080Bridge::getRandomID | ( | ) | [inline, static] |
Generates a random identifier and returns it Used when we want to create a new item, but don't know what ID to give it.
Definition at line 139 of file llfloaterproject.h.
References LLUUID::generate().
Referenced by LLFloaterNetwork2080::LLFloaterNetwork2080(), and LLNetwork2080Bridge().
S32 LLNetwork2080Bridge::getSortOrder | ( | ) | const [inline] |
Gets the sort order.
Definition at line 191 of file llfloaterproject.h.
References mSortOrder.
Referenced by LLFloaterNetwork2080::compare().
virtual LLString LLNetwork2080Bridge::getURL | ( | ) | const [inline, virtual] |
Get the URL to be loaded when this node is selected.
Reimplemented in LLNetwork2080PlayableContentBridge, and LLNetwork2080PageBridge.
Definition at line 173 of file llfloaterproject.h.
Referenced by LLFloaterNetwork2080::selectionCallback().
virtual const LLUUID& LLNetwork2080Bridge::getUUID | ( | ) | const [inline, virtual] |
Implements LLFolderViewEventListener.
Definition at line 85 of file llfloaterproject.h.
References mUUID.
virtual BOOL LLNetwork2080Bridge::hasChildren | ( | ) | const [inline, virtual] |
Whether the node has children Note that this also applies to children that aren't currently loaded. This returning TRUE will result in an expandable node even if there's nothing in the tree under it yet.
Implements LLFolderViewEventListener.
Reimplemented in LLNetwork2080FolderBridge.
Definition at line 125 of file llfloaterproject.h.
References FALSE.
virtual BOOL LLNetwork2080Bridge::isClipboardPasteable | ( | ) | const [inline, virtual] |
Implements LLFolderViewEventListener.
Definition at line 101 of file llfloaterproject.h.
References FALSE.
virtual BOOL LLNetwork2080Bridge::isItemCopyable | ( | ) | const [inline, virtual] |
Implements LLFolderViewEventListener.
Definition at line 98 of file llfloaterproject.h.
References FALSE.
Implements LLFolderViewEventListener.
Definition at line 93 of file llfloaterproject.h.
References FALSE.
Implements LLFolderViewEventListener.
Definition at line 94 of file llfloaterproject.h.
References FALSE.
virtual BOOL LLNetwork2080Bridge::isItemRenameable | ( | ) | const [inline, virtual] |
Implements LLFolderViewEventListener.
Definition at line 91 of file llfloaterproject.h.
References FALSE.
virtual BOOL LLNetwork2080Bridge::isUpToDate | ( | ) | const [inline, virtual] |
Whether the node is up to date This indicates that the node (and its children) are fully loaded.
Implements LLFolderViewEventListener.
Reimplemented in LLNetwork2080FolderBridge.
Definition at line 114 of file llfloaterproject.h.
References TRUE.
Generate an UUID based on a S32 to an UUID form This is done to convert IDs sent by the server This of course is affected by endianess, but it doesn't matter as this is for local use only.
id | ID to generate UUID from |
Definition at line 153 of file llfloaterproject.h.
References LLUUID::mData.
Referenced by LLFloaterNetwork2080::addNode(), LLNetwork2080Bridge(), and LLFloaterNetwork2080::requestChildren().
void LLNetwork2080Bridge::move | ( | LLFolderViewEventListener * | parent_listener | ) | [virtual] |
void LLNetwork2080Bridge::openItem | ( | ) | [virtual] |
Implements LLFolderViewEventListener.
Reimplemented in LLNetwork2080FolderBridge.
Definition at line 251 of file llfloaterproject.cpp.
References llendl, and llinfos.
Referenced by previewItem().
void LLNetwork2080Bridge::pasteFromClipboard | ( | ) | [virtual] |
void LLNetwork2080Bridge::performAction | ( | LLFolderView * | folder, | |
LLInventoryModel * | model, | |||
LLString | action | |||
) | [virtual] |
void LLNetwork2080Bridge::previewItem | ( | ) | [virtual] |
Implements LLFolderViewEventListener.
Definition at line 270 of file llfloaterproject.cpp.
References llendl, llinfos, and openItem().
void LLNetwork2080Bridge::removeBatch | ( | LLDynamicArray< LLFolderViewEventListener * > & | batch | ) | [virtual] |
BOOL LLNetwork2080Bridge::removeItem | ( | ) | [virtual] |
Sets the sort order.
order | Order |
Definition at line 185 of file llfloaterproject.h.
References mSortOrder.
Referenced by LLFloaterNetwork2080::addNode().
BOOL LLNetwork2080Bridge::startDrag | ( | EDragAndDropType * | type, | |
LLUUID * | id | |||
) | [virtual] |
U32 LLNetwork2080Bridge::mID [protected] |
Definition at line 47 of file llfloaterproject.h.
Referenced by LLNetwork2080FolderBridge::getChildrenURL(), getID(), LLNetwork2080PageBridge::getURL(), LLNetwork2080PlayableContentBridge::getURL(), LLNetwork2080Bridge(), and LLNetwork2080FolderBridge::openItem().
LLString LLNetwork2080Bridge::mName [protected] |
S32 LLNetwork2080Bridge::mSortOrder [protected] |
LLUUID LLNetwork2080Bridge::mUUID [protected] |
Definition at line 48 of file llfloaterproject.h.
Referenced by getUUID(), and LLNetwork2080Bridge().