PageRenderTime 89ms CodeModel.GetById 0ms 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
Possible License(s): LGPL-2.1
  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. #include "llviewerprecompiledheaders.h"
  27. #include "llpanelme.h"
  28. // Viewer includes
  29. #include "llpanelprofile.h"
  30. #include "llavatarconstants.h"
  31. #include "llagent.h"
  32. #include "llagentcamera.h"
  33. #include "llagentwearables.h"
  34. #include "llfirstuse.h"
  35. #include "llfloaterreg.h"
  36. #include "llhints.h"
  37. #include "llviewercontrol.h"
  38. #include "llviewerdisplayname.h"
  39. // Linden libraries
  40. #include "llavatarnamecache.h" // IDEVO
  41. #include "lliconctrl.h"
  42. #include "llnotifications.h"
  43. #include "llnotificationsutil.h" // IDEVO
  44. #include "lltabcontainer.h"
  45. #include "lltexturectrl.h"
  46. static LLRegisterPanelClassWrapper<LLPanelMe> t_panel_me_profile("panel_me");
  47. LLPanelMe::LLPanelMe(void)
  48. : LLPanelProfile()
  49. {
  50. setAvatarId(gAgent.getID());
  51. }
  52. BOOL LLPanelMe::postBuild()
  53. {
  54. LLPanelProfile::postBuild();
  55. return TRUE;
  56. }
  57. void LLPanelMe::onOpen(const LLSD& key)
  58. {
  59. LLPanelProfile::onOpen(key);
  60. }