/indra/newview/llpanelgrouplandmoney.h

https://bitbucket.org/lindenlab/viewer-beta/ · C++ Header · 65 lines · 29 code · 11 blank · 25 comment · 0 complexity · 2c4d175e9c7d516952045b74d340e8f1 MD5 · raw file

  1. /**
  2. * @file llpanelgrouplandmoney.h
  3. * @brief Panel for group land and L$.
  4. *
  5. * $LicenseInfo:firstyear=2006&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_PANEL_GROUP_LAND_MONEY_H
  27. #define LL_PANEL_GROUP_LAND_MONEY_H
  28. #include "llpanelgroup.h"
  29. #include "llmap.h"
  30. #include "lluuid.h"
  31. class LLPanelGroupLandMoney : public LLPanelGroupTab
  32. {
  33. public:
  34. LLPanelGroupLandMoney();
  35. virtual ~LLPanelGroupLandMoney();
  36. virtual BOOL postBuild();
  37. virtual BOOL isVisibleByAgent(LLAgent* agentp);
  38. virtual void activate();
  39. virtual bool needsApply(std::string& mesg);
  40. virtual bool apply(std::string& mesg);
  41. virtual void cancel();
  42. virtual void update(LLGroupChange gc);
  43. static void processPlacesReply(LLMessageSystem* msg, void**);
  44. static LLMap<LLUUID, LLPanelGroupLandMoney*> sGroupIDs;
  45. static void processGroupAccountDetailsReply(LLMessageSystem* msg, void** data);
  46. static void processGroupAccountTransactionsReply(LLMessageSystem* msg, void** data);
  47. static void processGroupAccountSummaryReply(LLMessageSystem* msg, void** data);
  48. virtual void setGroupID(const LLUUID& id);
  49. virtual void onLandSelectionChanged();
  50. protected:
  51. class impl;
  52. impl* mImplementationp;
  53. };
  54. #endif // LL_PANEL_GROUP_LAND_MONEY_H