#include <llpaneldirbrowser.h>
Inheritance diagram for LLPanelDirBrowser:
Definition at line 48 of file llpaneldirbrowser.h.
LLPanelDirBrowser::LLPanelDirBrowser | ( | const std::string & | name, | |
LLFloaterDirectory * | floater | |||
) |
Definition at line 79 of file llpaneldirbrowser.cpp.
LLPanelDirBrowser::~LLPanelDirBrowser | ( | ) | [virtual] |
Definition at line 111 of file llpaneldirbrowser.cpp.
References gDirBrowserInstances, and mSearchID.
void LLPanelDirBrowser::addClassified | ( | LLCtrlListInterface * | list, | |
const LLUUID & | classified_id, | |||
const char * | name, | |||
const U32 | creation_date, | |||
const S32 | price_for_listing | |||
) | [protected] |
Definition at line 1041 of file llpaneldirbrowser.cpp.
References CLASSIFIED_CODE, LLControlGroup::getString(), gViewerArt, list, llformat(), LLUUID::set(), and type.
Referenced by newClassified().
void LLPanelDirBrowser::addHelpText | ( | const char * | text | ) |
Definition at line 1218 of file llpaneldirbrowser.cpp.
References LLPanel::childDisable(), LLPanel::childGetListInterface(), and list.
LLSD LLPanelDirBrowser::createLandSale | ( | const LLUUID & | parcel_id, | |
BOOL | is_auction, | |||
BOOL | is_for_sale, | |||
const LLString & | name, | |||
S32 * | type | |||
) | [protected] |
Definition at line 1065 of file llpaneldirbrowser.cpp.
References AUCTION_CODE, FOR_SALE_CODE, LLControlGroup::getString(), gViewerArt, PLACE_CODE, and LLUUID::set().
void LLPanelDirBrowser::draw | ( | ) | [virtual] |
Reimplemented from LLPanel.
Reimplemented in LLPanelDirClassified, LLPanelDirEvents, LLPanelDirFindAll, LLPanelDirFindAllOld, LLPanelDirGroups, LLPanelDirPlaces, and LLPanelDirPopular.
Definition at line 120 of file llpaneldirbrowser.cpp.
References LLPanel::childGetListInterface(), LLPanel::childHasFocus(), LLPanel::childSetFocus(), LLPanel::draw(), LLFrameTimer::getElapsedTimeF32(), LLView::getVisible(), list, mDidAutoSelect, mLastResultTimer, NULL, onCommitList(), and TRUE.
Referenced by LLPanelDirPopular::draw(), LLPanelDirPlaces::draw(), LLPanelDirGroups::draw(), LLPanelDirFindAllOld::draw(), LLPanelDirFindAll::draw(), LLPanelDirEvents::draw(), and LLPanelDirClassified::draw().
const LLUUID& LLPanelDirBrowser::getSearchID | ( | ) | const [inline] |
Definition at line 68 of file llpaneldirbrowser.h.
References mSearchID.
Referenced by LLPanelDirLand::performQuery(), LLPanelDirPlaces::queryCore(), and LLPanelDirPopular::requestPopular().
U32 LLPanelDirBrowser::getSelectedEventID | ( | ) | const |
Definition at line 264 of file llpaneldirbrowser.cpp.
References LLPanelEvent::getEventID(), mFloaterDirectory, and LLFloaterDirectory::mPanelEventp.
Definition at line 276 of file llpaneldirbrowser.cpp.
References LLSD::asString(), LLSD::asUUID(), LLPanel::childGetListInterface(), LLPanel::childGetValue(), list, and mResultsContents.
void LLPanelDirBrowser::newClassified | ( | ) |
Definition at line 1107 of file llpaneldirbrowser.cpp.
References addClassified(), LLPanel::childGetListInterface(), LLPanelClassified::getClassifiedID(), LLPanelClassified::getClassifiedName(), LLPanelClassified::initNewClassified(), list, mFloaterDirectory, LLFloaterDirectory::mPanelClassifiedp, LLPanelClassified::reset(), LLView::setVisible(), and TRUE.
void LLPanelDirBrowser::nextPage | ( | ) | [virtual] |
Definition at line 151 of file llpaneldirbrowser.cpp.
References LLPanel::childShow(), mResultsPerPage, mSearchStart, and performQuery().
Definition at line 1187 of file llpaneldirbrowser.cpp.
Referenced by LLPanelDirEvents::onCommitMature(), LLPanelDirPlaces::postBuild(), LLPanelDirPeople::postBuild(), LLPanelDirLand::postBuild(), LLPanelDirGroups::postBuild(), LLPanelDirEvents::postBuild(), and LLPanelDirClassified::postBuild().
Definition at line 291 of file llpaneldirbrowser.cpp.
References EVENT_CODE, FALSE, list, S32, and type.
Referenced by draw(), onVisibilityChange(), postBuild(), and selectByUUID().
void LLPanelDirBrowser::onKeystrokeName | ( | LLLineEditor * | line, | |
void * | data | |||
) | [static, protected] |
Reimplemented in LLPanelDirFindAllOld, LLPanelDirPeople, and LLPanelDirPlaces.
Definition at line 1228 of file llpaneldirbrowser.cpp.
References LLLineEditor::getLength(), and S32.
Referenced by LLPanelDirPlaces::postBuild(), LLPanelDirPeople::postBuild(), LLPanelDirGroups::postBuild(), and LLPanelDirFindAllOld::postBuild().
Reimplemented from LLView.
Definition at line 1244 of file llpaneldirbrowser.cpp.
References NULL, onCommitList(), and LLView::onVisibilityChange().
virtual void LLPanelDirBrowser::performQuery | ( | ) | [inline, virtual] |
Reimplemented in LLPanelDirClassified, LLPanelDirEvents, LLPanelDirGroups, LLPanelDirLand, LLPanelDirPeople, and LLPanelDirPlaces.
Definition at line 66 of file llpaneldirbrowser.h.
Referenced by nextPage(), and prevPage().
BOOL LLPanelDirBrowser::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Reimplemented in LLPanelDirClassified, LLPanelDirEvents, LLPanelDirFindAll, LLPanelDirFindAllOld, LLPanelDirGroups, LLPanelDirLand, LLPanelDirPeople, LLPanelDirPlaces, and LLPanelDirPopular.
Definition at line 98 of file llpaneldirbrowser.cpp.
References LLPanel::childHide(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), onClickNext(), onClickPrev(), onCommitList(), and TRUE.
Referenced by LLPanelDirPopular::postBuild(), LLPanelDirPlaces::postBuild(), LLPanelDirPeople::postBuild(), LLPanelDirLand::postBuild(), LLPanelDirGroups::postBuild(), LLPanelDirFindAllOld::postBuild(), LLPanelDirFindAll::postBuild(), LLPanelDirEvents::postBuild(), and LLPanelDirClassified::postBuild().
void LLPanelDirBrowser::prevPage | ( | ) | [virtual] |
Definition at line 161 of file llpaneldirbrowser.cpp.
References LLPanel::childSetVisible(), mResultsPerPage, mSearchStart, and performQuery().
void LLPanelDirBrowser::processDirClassifiedReply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 844 of file llpaneldirbrowser.cpp.
References _PREHASH_QueryReplies, CLASSIFIED_CODE, DB_PARCEL_NAME_SIZE, FALSE, gAgent, gDirBrowserInstances, LLAgent::getID(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getS32(), LLMessageSystem::getString(), LLMessageSystem::getU32(), LLMessageSystem::getUUID(), i, list, llendl, llwarns, LLCtrlSelectionInterface::OP_DELETE, S32, and TRUE.
Referenced by register_viewer_callbacks().
void LLPanelDirBrowser::processDirEventsReply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 643 of file llpaneldirbrowser.cpp.
References ADD_SORTED, EVENT_CODE, EVENT_FLAG_MATURE, FALSE, gDirBrowserInstances, LLControlGroup::getBOOL(), LLMessageSystem::getNumberOfBlocks(), LLControlGroup::getString(), LLMessageSystem::getString(), LLMessageSystem::getU32(), LLMessageSystem::getUUID(), gSavedSettings, gViewerArt, i, LLUUID::isNull(), list, llendl, llformat(), llwarns, MAX_STRING, LLCtrlSelectionInterface::OP_DELETE, S32, LLUUID::set(), and TRUE.
Referenced by register_viewer_callbacks().
void LLPanelDirBrowser::processDirGroupsReply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 760 of file llpaneldirbrowser.cpp.
References _PREHASH_GroupID, _PREHASH_GroupName, _PREHASH_Members, _PREHASH_QueryData, _PREHASH_QueryID, _PREHASH_QueryReplies, _PREHASH_SearchOrder, LLUUID::asString(), DB_GROUP_NAME_BUF_SIZE, FALSE, gDirBrowserInstances, LLMessageSystem::getF32Fast(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getS32Fast(), LLControlGroup::getString(), LLMessageSystem::getStringFast(), LLMessageSystem::getUUIDFast(), GROUP_CODE, gViewerArt, i, LLUUID::isNull(), list, LLCtrlSelectionInterface::OP_DELETE, S32, LLUUID::set(), and TRUE.
Referenced by register_viewer_callbacks().
void LLPanelDirBrowser::processDirLandReply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 913 of file llpaneldirbrowser.cpp.
References LLUUID::asString(), count, FALSE, gDirBrowserInstances, LLMessageSystem::getBOOL(), LLControlGroup::getBOOL(), LLMessageSystem::getNumberOfBlocks(), LLMessageSystem::getS32(), LLMessageSystem::getString(), LLMessageSystem::getUUID(), gSavedSettings, i, LLUUID::isNull(), list, llformat(), MAX_STRING, mHaveSearchResults, LLCtrlSelectionInterface::OP_DELETE, S32, TRUE, and type.
Referenced by register_viewer_callbacks().
void LLPanelDirBrowser::processDirPeopleReply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 403 of file llpaneldirbrowser.cpp.
References _PREHASH_AgentID, _PREHASH_FirstName, _PREHASH_LastName, _PREHASH_QueryData, _PREHASH_QueryID, _PREHASH_QueryReplies, LLUUID::asString(), AVATAR_CODE, DB_FIRST_NAME_BUF_SIZE, DB_LAST_NAME_BUF_SIZE, FALSE, gDirBrowserInstances, LLMessageSystem::getNumberOfBlocksFast(), LLControlGroup::getString(), LLMessageSystem::getStringFast(), LLMessageSystem::getUUIDFast(), gViewerArt, i, LLUUID::isNull(), list, LLCtrlSelectionInterface::OP_DELETE, S32, LLUUID::set(), and TRUE.
Referenced by register_viewer_callbacks().
void LLPanelDirBrowser::processDirPlacesReply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 486 of file llpaneldirbrowser.cpp.
References LLUUID::asString(), count, FALSE, gDirBrowserInstances, LLMessageSystem::getBOOL(), LLMessageSystem::getF32(), LLMessageSystem::getNumberOfBlocks(), LLMessageSystem::getString(), LLMessageSystem::getUUID(), i, LLUUID::isNull(), list, llformat(), MAX_STRING, LLCtrlSelectionInterface::OP_DELETE, S32, TRUE, and type.
Referenced by register_viewer_callbacks().
void LLPanelDirBrowser::processDirPopularReply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 564 of file llpaneldirbrowser.cpp.
References LLUUID::asString(), count, FALSE, gDirBrowserInstances, LLMessageSystem::getF32(), LLMessageSystem::getNumberOfBlocks(), LLControlGroup::getString(), LLMessageSystem::getString(), LLMessageSystem::getUUID(), gViewerArt, i, LLUUID::isNull(), list, llformat(), MAX_STRING, LLCtrlSelectionInterface::OP_DELETE, POPULAR_CODE, S32, LLUUID::set(), and TRUE.
Referenced by register_viewer_callbacks().
Definition at line 1135 of file llpaneldirbrowser.cpp.
void LLPanelDirBrowser::resetSearchStart | ( | ) |
Definition at line 170 of file llpaneldirbrowser.cpp.
References LLPanel::childHide(), and mSearchStart.
Definition at line 232 of file llpaneldirbrowser.cpp.
References LLPanel::childGetListInterface(), list, mWantSelectID, NULL, onCommitList(), and LLUUID::setNull().
Referenced by LLFloaterDirectory::showClassified(), LLFloaterDirectory::showLandForSale(), and LLFloaterDirectory::showPopular().
Definition at line 252 of file llpaneldirbrowser.cpp.
References mFloaterDirectory, LLFloaterDirectory::mPanelEventp, LLPanelEvent::setEventID(), LLView::setVisible(), and TRUE.
Referenced by LLFloaterDirectory::showEvents().
void LLPanelDirBrowser::sendDirFindQuery | ( | LLMessageSystem * | msg, | |
const LLUUID & | query_id, | |||
const LLString & | text, | |||
U32 | flags, | |||
S32 | query_start | |||
) | [static] |
Definition at line 1198 of file llpaneldirbrowser.cpp.
References LLMessageSystem::addS32(), LLMessageSystem::addString(), LLMessageSystem::addU32(), LLMessageSystem::addUUID(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and LLAgent::sendReliableMessage().
Referenced by LLPanelDirFindAllOld::onClickSearch(), LLPanelDirPeople::performQuery(), LLPanelDirGroups::performQuery(), and LLPanelDirEvents::performQueryOrDelete().
void LLPanelDirBrowser::setupNewSearch | ( | ) |
Definition at line 1160 of file llpaneldirbrowser.cpp.
References LLPanel::childDisable(), LLPanel::childGetListInterface(), FALSE, gDirBrowserInstances, LLUUID::generate(), LLFloaterDirectory::hideAllDetailPanels(), list, mFloaterDirectory, mHaveSearchResults, mResultsReceived, mSearchID, LLCtrlSelectionInterface::OP_DELETE, and updateResultCount().
Referenced by LLPanelDirPeople::performQuery(), LLPanelDirLand::performQuery(), LLPanelDirGroups::performQuery(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), LLPanelDirPlaces::queryCore(), and LLPanelDirPopular::requestPopular().
Definition at line 326 of file llpaneldirbrowser.cpp.
References AUCTION_CODE, AVATAR_CODE, CLASSIFIED_CODE, EVENT_CODE, FOR_SALE_CODE, GROUP_CODE, llendl, llwarns, mFloaterDirectory, LLFloaterDirectory::mPanelAvatarp, LLFloaterDirectory::mPanelClassifiedp, LLFloaterDirectory::mPanelGroupHolderp, LLFloaterDirectory::mPanelGroupp, LLFloaterDirectory::mPanelPlacep, LLFloaterDirectory::mPanelPlaceSmallp, ONLINE_STATUS_NO, PLACE_CODE, POPULAR_CODE, LLPanelPlace::resetLocation(), LLPanelClassified::sendClassifiedInfoRequest(), LLPanelAvatar::setAvatarID(), LLPanelClassified::setClassifiedID(), LLPanelGroup::setGroupID(), LLPanelPlace::setParcelID(), LLView::setVisible(), showEvent(), and TRUE.
Definition at line 389 of file llpaneldirbrowser.cpp.
References LLFloaterDirectory::hideAllDetailPanels(), mFloaterDirectory, LLFloaterDirectory::mPanelEventp, LLPanelEvent::setEventID(), LLView::setVisible(), and TRUE.
Referenced by showDetailPanel().
Definition at line 1253 of file llpaneldirbrowser.cpp.
References LLPanel::childHide(), LLPanel::childSetVisible(), LLView::getName(), mResultsPerPage, and mResultsReceived.
void LLPanelDirBrowser::updateResultCount | ( | ) | [protected] |
Definition at line 178 of file llpaneldirbrowser.cpp.
References LLPanel::childEnable(), LLPanel::childGetListInterface(), LLPanel::childIsVisible(), LLPanel::childSetValue(), list, llformat(), mHaveSearchResults, mResultsPerPage, LLCtrlSelectionInterface::OP_DESELECT, and S32.
Referenced by setupNewSearch().
BOOL LLPanelDirBrowser::mCurrentSortAscending [protected] |
Definition at line 141 of file llpaneldirbrowser.h.
Referenced by LLPanelDirGroups::performQuery(), LLPanelDirPopular::postBuild(), LLPanelDirPlaces::postBuild(), and LLPanelDirLand::postBuild().
LLString LLPanelDirBrowser::mCurrentSortColumn [protected] |
Definition at line 140 of file llpaneldirbrowser.h.
Referenced by LLPanelDirGroups::performQuery(), LLPanelDirPopular::postBuild(), LLPanelDirPlaces::postBuild(), LLPanelDirLand::postBuild(), and LLPanelDirEvents::postBuild().
BOOL LLPanelDirBrowser::mDidAutoSelect [protected] |
LLFloaterDirectory* LLPanelDirBrowser::mFloaterDirectory [protected] |
Definition at line 157 of file llpaneldirbrowser.h.
Referenced by getSelectedEventID(), newClassified(), selectEventByID(), setupNewSearch(), showDetailPanel(), and showEvent().
BOOL LLPanelDirBrowser::mHaveSearchResults [protected] |
Definition at line 153 of file llpaneldirbrowser.h.
Referenced by processDirLandReply(), setupNewSearch(), and updateResultCount().
LLFrameTimer LLPanelDirBrowser::mLastResultTimer [protected] |
U32 LLPanelDirBrowser::mMinSearchChars [protected] |
Definition at line 149 of file llpaneldirbrowser.h.
Referenced by LLPanelDirFindAll::LLPanelDirFindAll(), LLPanelDirFindAllOld::LLPanelDirFindAllOld(), LLPanelDirGroups::LLPanelDirGroups(), LLPanelDirPeople::LLPanelDirPeople(), LLPanelDirPlaces::LLPanelDirPlaces(), LLPanelDirPlaces::performQuery(), LLPanelDirPeople::performQuery(), and LLPanelDirGroups::performQuery().
LLSD LLPanelDirBrowser::mResultsContents [protected] |
S32 LLPanelDirBrowser::mResultsPerPage [protected] |
Definition at line 146 of file llpaneldirbrowser.h.
Referenced by LLPanelDirEvents::LLPanelDirEvents(), nextPage(), prevPage(), showNextButton(), and updateResultCount().
S32 LLPanelDirBrowser::mResultsReceived [protected] |
Definition at line 147 of file llpaneldirbrowser.h.
Referenced by setupNewSearch(), and showNextButton().
LLUUID LLPanelDirBrowser::mSearchID [protected] |
Definition at line 138 of file llpaneldirbrowser.h.
Referenced by getSearchID(), LLPanelDirPeople::performQuery(), LLPanelDirGroups::performQuery(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), setupNewSearch(), and ~LLPanelDirBrowser().
S32 LLPanelDirBrowser::mSearchStart [protected] |
Definition at line 144 of file llpaneldirbrowser.h.
Referenced by nextPage(), LLPanelDirPeople::performQuery(), LLPanelDirLand::performQuery(), LLPanelDirGroups::performQuery(), LLPanelDirClassified::performQuery(), LLPanelDirEvents::performQueryOrDelete(), prevPage(), LLPanelDirPlaces::queryCore(), and resetSearchStart().
LLUUID LLPanelDirBrowser::mWantSelectID [protected] |