RLVa 1.1.2 to 1.1.3 upgrade. InvLinks + COF

This commit is contained in:
Siana Gearz
2010-11-25 23:47:11 +01:00
parent 074bec3ad1
commit f9dcb1bb09
88 changed files with 8710 additions and 4707 deletions

View File

@@ -277,25 +277,3 @@ void LLFirstUse::useMedia()
LLNotifications::instance().add("FirstMedia");
}
}
// [RLVa:KB] - Version: 1.23.4 | Checked: RLVa-1.0.3a (2009-09-10) | Added: RLVa-1.0.3a
bool rlvHasVisibleFirstUseNotification()
{
LLNotificationChannelPtr activeNotifications = LLNotifications::instance().getChannel("Notifications");
for (LLNotificationChannel::Iterator itNotif = activeNotifications->begin(); itNotif != activeNotifications->end(); itNotif++)
if ((*itNotif)->getName().find(RLV_SETTING_FIRSTUSE_PREFIX) == 0)
return true;
return false;
}
void LLFirstUse::showRlvFirstUseNotification(const std::string& strName)
{
if ( (gSavedSettings.getWarning(strName)) && (!rlvHasVisibleFirstUseNotification()) )
{
gSavedSettings.setWarning(strName, FALSE);
LLNotifications::instance().add(strName);
}
}
// [/RLVa:KB]