LLPanelAvatarClassified Class Reference

#include <llpanelavatar.h>

Inheritance diagram for LLPanelAvatarClassified:

Inheritance graph
[legend]
Collaboration diagram for LLPanelAvatarClassified:

Collaboration graph
[legend]
List of all members.

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)

Detailed Description

Definition at line 211 of file llpanelavatar.h.


Constructor & Destructor Documentation

LLPanelAvatarClassified::LLPanelAvatarClassified ( const LLString name,
const LLRect rect,
LLPanelAvatar panel_avatar 
)

Definition at line 823 of file llpanelavatar.cpp.


Member Function Documentation

void LLPanelAvatarClassified::apply (  ) 

Definition at line 898 of file llpanelavatar.cpp.

References LLTabContainerCommon::getPanelByIndex(), LLUICtrlFactory::getTabContainerByName(), LLTabContainerCommon::getTabCount(), i, and S32.

void LLPanelAvatarClassified::callbackDelete ( S32  option,
void data 
) [static, private]

Definition at line 1020 of file llpanelavatar.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ClassifiedDelete, _PREHASH_ClassifiedID, _PREHASH_Data, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, LLPanelClassified::getClassifiedID(), LLTabContainerCommon::getCurrentPanel(), LLAgent::getID(), LLAgent::getSessionID(), LLUICtrlFactory::getTabContainerByName(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, LLTabContainerCommon::removeTabPanel(), and LLAgent::sendReliableMessage().

Referenced by onClickDelete().

void LLPanelAvatarClassified::callbackNew ( S32  option,
void data 
) [static, private]

Definition at line 981 of file llpanelavatar.cpp.

References LLTabContainerCommon::addTabPanel(), FALSE, LLPanelClassified::getClassifiedName(), LLUICtrlFactory::getTabContainerByName(), LLPanelClassified::initNewClassified(), and LLTabContainerCommon::selectLastTab().

Referenced by onClickNew().

BOOL LLPanelAvatarClassified::canClose (  ) 

Definition at line 866 of file llpanelavatar.cpp.

References FALSE, LLTabContainerCommon::getPanelByIndex(), LLUICtrlFactory::getTabContainerByName(), LLTabContainerCommon::getTabCount(), i, S32, and TRUE.

Referenced by LLPanelAvatar::canClose().

void LLPanelAvatarClassified::deleteClassifiedPanels (  ) 

Definition at line 909 of file llpanelavatar.cpp.

References LLPanel::childSetVisible(), LLTabContainerCommon::deleteAllTabs(), and LLUICtrlFactory::getTabContainerByName().

Referenced by LLPanelAvatar::setAvatarID().

void LLPanelAvatarClassified::onClickDelete ( void data  )  [static, private]

Definition at line 1000 of file llpanelavatar.cpp.

References LLViewerWindow::alertXml(), callbackDelete(), LLPanelClassified::getClassifiedName(), LLTabContainerCommon::getCurrentPanel(), LLUICtrlFactory::getTabContainerByName(), gViewerWindow, and NULL.

Referenced by postBuild().

void LLPanelAvatarClassified::onClickNew ( void data  )  [static, private]

Definition at line 972 of file llpanelavatar.cpp.

References LLViewerWindow::alertXml(), callbackNew(), and gViewerWindow.

Referenced by postBuild().

BOOL LLPanelAvatarClassified::postBuild ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 497 of file llpanelavatar.cpp.

References LLPanel::childSetAction(), NULL, onClickDelete(), onClickNew(), and TRUE.

void LLPanelAvatarClassified::processAvatarClassifiedReply ( LLMessageSystem msg,
void **   
)

Definition at line 923 of file llpanelavatar.cpp.

References _PREHASH_ClassifiedID, _PREHASH_Data, _PREHASH_Name, LLTabContainerCommon::addTabPanel(), LLPanel::childSetVisible(), DB_PICK_NAME_SIZE, FALSE, LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getStringFast(), LLUICtrlFactory::getTabContainerByName(), LLMessageSystem::getUUIDFast(), LLPanelClassified::markForServerRequest(), NULL, S32, LLTabContainerCommon::selectFirstTab(), and LLPanelClassified::setClassifiedID().

void LLPanelAvatarClassified::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 830 of file llpanelavatar.cpp.

References LLPanel::childSetEnabled(), LLPanel::childSetVisible(), gAgent, LLPanelAvatar::getAvatarID(), LLAgent::getID(), LLView::getName(), LLPanelAvatarTab::getPanelAvatar(), LLView::getParent(), LLUICtrlFactory::getTabContainerByName(), LLTabContainerCommon::getTabCount(), MAX_CLASSIFIEDS, S32, and LLPanelAvatarTab::sendAvatarProfileRequestIfNeeded().

BOOL LLPanelAvatarClassified::titleIsValid (  ) 

Definition at line 880 of file llpanelavatar.cpp.

References FALSE, LLTabContainerCommon::getCurrentPanel(), LLUICtrlFactory::getTabContainerByName(), LLPanelClassified::titleIsValid(), and TRUE.


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