PageRenderTime 24ms CodeModel.GetById 15ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/llpanelme.cpp

https://bitbucket.org/lindenlab/viewer-beta/
C++ | 69 lines | 33 code | 9 blank | 27 comment | 0 complexity | c416a3e4071990a05e3e0a1179ffc8f6 MD5 | raw file
 1/** 
 2 * @file llpanelme.cpp
 3 * @brief Side tray "Me" (My Profile) panel
 4 *
 5 * $LicenseInfo:firstyear=2009&license=viewerlgpl$
 6 * Second Life Viewer Source Code
 7 * Copyright (C) 2010, Linden Research, Inc.
 8 * 
 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation;
12 * version 2.1 of the License only.
13 * 
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 * Lesser General Public License for more details.
18 * 
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22 * 
23 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
24 * $/LicenseInfo$
25 */
26
27#include "llviewerprecompiledheaders.h"
28
29#include "llpanelme.h"
30
31// Viewer includes
32#include "llpanelprofile.h"
33#include "llavatarconstants.h"
34#include "llagent.h"
35#include "llagentcamera.h"
36#include "llagentwearables.h"
37#include "llfirstuse.h"
38#include "llfloaterreg.h"
39#include "llhints.h"
40#include "llviewercontrol.h"
41#include "llviewerdisplayname.h"
42
43// Linden libraries
44#include "llavatarnamecache.h"		// IDEVO
45#include "lliconctrl.h"
46#include "llnotifications.h"
47#include "llnotificationsutil.h"	// IDEVO
48#include "lltabcontainer.h"
49#include "lltexturectrl.h"
50
51static LLRegisterPanelClassWrapper<LLPanelMe> t_panel_me_profile("panel_me");
52
53LLPanelMe::LLPanelMe(void) 
54 : LLPanelProfile()
55{
56	setAvatarId(gAgent.getID());
57}
58
59BOOL LLPanelMe::postBuild()
60{
61	LLPanelProfile::postBuild();
62
63	return TRUE;
64}
65
66void LLPanelMe::onOpen(const LLSD& key)
67{
68	LLPanelProfile::onOpen(key);
69}