Add LLAvatarActions::showProfiles that takes a vector of uuids, for opening a bunch of profiles at once

This commit is contained in:
Lirusaito
2013-07-26 03:20:42 -04:00
parent b0c00e1c15
commit cfaaac3c96
2 changed files with 8 additions and 0 deletions

View File

@@ -379,6 +379,13 @@ void LLAvatarActions::showProfile(const LLUUID& id, bool web)
}
}
// static
void LLAvatarActions::showProfiles(const uuid_vec_t& ids, bool web)
{
for (uuid_vec_t::const_iterator it = ids.begin(); it != ids.end(); ++it)
showProfile(*it, web);
}
//static
bool LLAvatarActions::profileVisible(const LLUUID& id)
{

View File

@@ -86,6 +86,7 @@ public:
* Show avatar profile.
*/
static void showProfile(const LLUUID& id, bool web = false);
static void showProfiles(const uuid_vec_t& ids, bool web = false);
static void hideProfile(const LLUUID& id);
static bool profileVisible(const LLUUID& id);
static LLFloater* getProfileFloater(const LLUUID& id);