/indra/newview/llfloaterlandholdings.h

https://bitbucket.org/lindenlab/viewer-beta/ · C++ Header · 76 lines · 33 code · 15 blank · 28 comment · 0 complexity · e9aecf007617ade27e160acce7198e3e MD5 · raw file

  1. /**
  2. * @file llfloaterlandholdings.h
  3. * @brief "My Land" floater showing all your land parcels.
  4. *
  5. * $LicenseInfo:firstyear=2003&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. #ifndef LL_LLFLOATERLANDHOLDINGS_H
  27. #define LL_LLFLOATERLANDHOLDINGS_H
  28. #include "llfloater.h"
  29. class LLMessageSystem;
  30. class LLTextBox;
  31. class LLScrollListCtrl;
  32. class LLButton;
  33. class LLFloaterLandHoldings
  34. : public LLFloater
  35. {
  36. public:
  37. LLFloaterLandHoldings(const LLSD& key);
  38. virtual ~LLFloaterLandHoldings();
  39. virtual BOOL postBuild();
  40. virtual void onOpen(const LLSD& key);
  41. virtual void draw();
  42. void refresh();
  43. void buttonCore(S32 which);
  44. static void processPlacesReply(LLMessageSystem* msg, void**);
  45. static void onClickTeleport(void*);
  46. static void onClickMap(void*);
  47. static void onClickLandmark(void*);
  48. static void onGrantList(void* data);
  49. protected:
  50. void refreshAggregates();
  51. protected:
  52. // Sum up as packets arrive the total holdings
  53. S32 mActualArea;
  54. S32 mBillableArea;
  55. // Has a packet of data been received?
  56. // Used to clear out the mParcelList's "Loading..." indicator
  57. BOOL mFirstPacketReceived;
  58. std::string mSortColumn;
  59. BOOL mSortAscending;
  60. };
  61. #endif