Fairly certain this adds the feature in which the user may click the online notification to open a chat with the user coming online. Translators may want to look at the xml changes of this change to see what to update Removes old LegacyMultiAttachmentSupport patch Moves LLAvatarName-centric functions into LLAvatarName from elsewhere. Adds boost::signals2::connections to name polling places. Removes more old icky static callbacks Merge from Alchemy, credit where due~ Update notifications.xml to have a bunch of the tags from upstream to ease diffing
50 lines
1.4 KiB
C++
50 lines
1.4 KiB
C++
/**
|
|
* @file llfloaterdisplayname.h
|
|
*
|
|
* $LicenseInfo:firstyear=2009&license=viewerlgpl$
|
|
* Second Life Viewer Source Code
|
|
* Copyright (C) 2010, Linden Research, Inc.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation;
|
|
* version 2.1 of the License only.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*
|
|
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
|
|
* $/LicenseInfo$
|
|
*/
|
|
|
|
#ifndef LLFLOATERDISPLAYNAME_H
|
|
#define LLFLOATERDISPLAYNAME_H
|
|
|
|
|
|
class LLFloaterDisplayName : public LLFloater
|
|
, public LLFloaterSingleton<LLFloaterDisplayName>
|
|
{
|
|
public:
|
|
LLFloaterDisplayName(const LLSD&);
|
|
virtual ~LLFloaterDisplayName() { }
|
|
/*virtual*/ BOOL postBuild();
|
|
void onSave();
|
|
void onReset();
|
|
void onCancel();
|
|
/*virtual*/ void onOpen();
|
|
private:
|
|
|
|
void onCacheSetName(bool success,
|
|
const std::string& reason,
|
|
const LLSD& content);
|
|
};
|
|
|
|
|
|
#endif
|