#include <llpanelavatar.h>
Public Member Functions | |
| LLPanelAvatarClassified (const LLString &name, const LLRect &rect, LLPanelAvatar *panel_avatar) | |
| BOOL | postBuild (void) |
| void | refresh () |
| BOOL | canClose () |
| void | apply () |
| BOOL | titleIsValid () |
| void | deleteClassifiedPanels () |
| void | processAvatarClassifiedReply (LLMessageSystem *msg, void **) |
Static Private Member Functions | |
| static void | onClickNew (void *data) |
| static void | onClickDelete (void *data) |
| static void | callbackDelete (S32 option, void *data) |
| static void | callbackNew (S32 option, void *data) |
Definition at line 207 of file llpanelavatar.h.
| LLPanelAvatarClassified::LLPanelAvatarClassified | ( | const LLString & | name, | |
| const LLRect & | rect, | |||
| LLPanelAvatar * | panel_avatar | |||
| ) |
Definition at line 783 of file llpanelavatar.cpp.
| BOOL LLPanelAvatarClassified::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 482 of file llpanelavatar.cpp.
References LLPanel::childSetAction(), NULL, onClickDelete(), onClickNew(), and TRUE.
| void LLPanelAvatarClassified::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 790 of file llpanelavatar.cpp.
References LLPanel::childSetEnabled(), LLPanel::childSetVisible(), gAgent, LLPanelAvatar::getAvatarID(), LLAgent::getID(), LLView::getName(), LLPanelAvatarTab::getPanelAvatar(), LLView::getParent(), LLTabContainer::getTabCount(), MAX_CLASSIFIEDS, S32, and LLPanelAvatarTab::sendAvatarProfileRequestIfNeeded().
| BOOL LLPanelAvatarClassified::canClose | ( | ) |
Definition at line 826 of file llpanelavatar.cpp.
References LLPanelClassified::canClose(), FALSE, LLTabContainer::getPanelByIndex(), LLTabContainer::getTabCount(), i, S32, and TRUE.
Referenced by LLPanelAvatar::canClose().
| void LLPanelAvatarClassified::apply | ( | ) |
Definition at line 858 of file llpanelavatar.cpp.
References LLPanelClassified::apply(), LLTabContainer::getPanelByIndex(), LLTabContainer::getTabCount(), i, and S32.
| BOOL LLPanelAvatarClassified::titleIsValid | ( | ) |
Definition at line 840 of file llpanelavatar.cpp.
References FALSE, LLTabContainer::getCurrentPanel(), LLPanelClassified::titleIsValid(), and TRUE.
| void LLPanelAvatarClassified::deleteClassifiedPanels | ( | ) |
Definition at line 869 of file llpanelavatar.cpp.
References LLPanel::childSetVisible(), and LLTabContainer::deleteAllTabs().
Referenced by LLPanelAvatar::setAvatarID().
| void LLPanelAvatarClassified::processAvatarClassifiedReply | ( | LLMessageSystem * | msg, | |
| void ** | ||||
| ) |
Definition at line 883 of file llpanelavatar.cpp.
References _PREHASH_ClassifiedID, _PREHASH_Data, _PREHASH_Name, LLTabContainer::addTabPanel(), LLPanel::childSetVisible(), DB_PICK_NAME_SIZE, LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getStringFast(), LLMessageSystem::getUUIDFast(), LLPanelClassified::markForServerRequest(), NULL, S32, LLTabContainer::selectFirstTab(), and LLPanelClassified::setClassifiedID().
| void LLPanelAvatarClassified::onClickNew | ( | void * | data | ) | [static, private] |
Definition at line 932 of file llpanelavatar.cpp.
References LLViewerWindow::alertXml(), callbackNew(), and gViewerWindow.
Referenced by postBuild().
| void LLPanelAvatarClassified::onClickDelete | ( | void * | data | ) | [static, private] |
Definition at line 960 of file llpanelavatar.cpp.
References LLViewerWindow::alertXml(), callbackDelete(), LLTabContainer::getCurrentPanel(), gViewerWindow, and NULL.
Referenced by postBuild().
| void LLPanelAvatarClassified::callbackDelete | ( | S32 | option, | |
| void * | data | |||
| ) | [static, private] |
Definition at line 980 of file llpanelavatar.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ClassifiedDelete, _PREHASH_ClassifiedID, _PREHASH_Data, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, LLTabContainer::getCurrentPanel(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, LLTabContainer::removeTabPanel(), and LLAgent::sendReliableMessage().
Referenced by onClickDelete().
| void LLPanelAvatarClassified::callbackNew | ( | S32 | option, | |
| void * | data | |||
| ) | [static, private] |
Definition at line 941 of file llpanelavatar.cpp.
References LLTabContainer::addTabPanel(), LLPanelClassified::getClassifiedName(), LLPanelClassified::initNewClassified(), and LLTabContainer::selectLastTab().
Referenced by onClickNew().
1.5.5