Add LLAvatarActions::showProfiles that takes a vector of uuids, for opening a bunch of profiles at once
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user