/indra/newview/llfloaterinspect.h

https://bitbucket.org/lindenlab/viewer-beta/ · C++ Header · 76 lines · 32 code · 11 blank · 33 comment · 0 complexity · 95063a85ffd5a8d326ff2f5741caf54a MD5 · raw file

  1. /**
  2. * @file llfloaterinspect.h
  3. * @author Cube
  4. * @date 2006-12-16
  5. * @brief Declaration of class for displaying object attributes
  6. *
  7. * $LicenseInfo:firstyear=2006&license=viewerlgpl$
  8. * Second Life Viewer Source Code
  9. * Copyright (C) 2010, Linden Research, Inc.
  10. *
  11. * This library is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU Lesser General Public
  13. * License as published by the Free Software Foundation;
  14. * version 2.1 of the License only.
  15. *
  16. * This library is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  19. * Lesser General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU Lesser General Public
  22. * License along with this library; if not, write to the Free Software
  23. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  24. *
  25. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  26. * $/LicenseInfo$
  27. */
  28. #ifndef LL_LLFLOATERINSPECT_H
  29. #define LL_LLFLOATERINSPECT_H
  30. #include "llavatarname.h"
  31. #include "llfloater.h"
  32. //class LLTool;
  33. class LLObjectSelection;
  34. class LLScrollListCtrl;
  35. class LLUICtrl;
  36. class LLFloaterInspect : public LLFloater
  37. {
  38. friend class LLFloaterReg;
  39. public:
  40. // static void show(void* ignored = NULL);
  41. void onOpen(const LLSD& key);
  42. virtual BOOL postBuild();
  43. void dirty();
  44. LLUUID getSelectedUUID();
  45. virtual void draw();
  46. virtual void refresh();
  47. // static BOOL isVisible();
  48. virtual void onFocusReceived();
  49. void onClickCreatorProfile();
  50. void onClickOwnerProfile();
  51. void onSelectObject();
  52. static void onGetAvNameCallback(const LLUUID& idCreator, const LLAvatarName& av_name, void* FloaterPtr);
  53. LLScrollListCtrl* mObjectList;
  54. protected:
  55. // protected members
  56. void setDirty() { mDirty = TRUE; }
  57. bool mDirty;
  58. private:
  59. LLFloaterInspect(const LLSD& key);
  60. virtual ~LLFloaterInspect(void);
  61. // static data
  62. // static LLFloaterInspect* sInstance;
  63. LLSafeHandle<LLObjectSelection> mObjectSelection;
  64. };
  65. #endif //LL_LLFLOATERINSPECT_H