diff options
author | Jacek Antonelli | 2008-08-15 23:45:11 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:11 -0500 |
commit | 215f423cbe18fe9ca14a26caef918d303bad28ff (patch) | |
tree | 0743442b286216cc8e19aa487c26f4e9345ffd64 /linden/indra/newview/llpanelgrouplandmoney.h | |
parent | Second Life viewer sources 1.18.3.5-RC (diff) | |
download | meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.zip meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.gz meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.bz2 meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.xz |
Second Life viewer sources 1.18.4.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanelgrouplandmoney.h | 89 |
1 files changed, 7 insertions, 82 deletions
diff --git a/linden/indra/newview/llpanelgrouplandmoney.h b/linden/indra/newview/llpanelgrouplandmoney.h index 8ac8bc7..83126f9 100644 --- a/linden/indra/newview/llpanelgrouplandmoney.h +++ b/linden/indra/newview/llpanelgrouplandmoney.h | |||
@@ -2,6 +2,8 @@ | |||
2 | * @file llpanelgrouplandmoney.h | 2 | * @file llpanelgrouplandmoney.h |
3 | * @brief Panel for group land and L$. | 3 | * @brief Panel for group land and L$. |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2006&license=viewergpl$ | ||
6 | * | ||
5 | * Copyright (c) 2006-2007, Linden Research, Inc. | 7 | * Copyright (c) 2006-2007, Linden Research, Inc. |
6 | * | 8 | * |
7 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
@@ -24,6 +26,7 @@ | |||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO |
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, |
26 | * COMPLETENESS OR PERFORMANCE. | 28 | * COMPLETENESS OR PERFORMANCE. |
29 | * $/LicenseInfo$ | ||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #ifndef LL_PANEL_GROUP_LAND_MONEY_H | 32 | #ifndef LL_PANEL_GROUP_LAND_MONEY_H |
@@ -56,92 +59,14 @@ public: | |||
56 | static void processPlacesReply(LLMessageSystem* msg, void**); | 59 | static void processPlacesReply(LLMessageSystem* msg, void**); |
57 | 60 | ||
58 | static LLMap<LLUUID, LLPanelGroupLandMoney*> sGroupIDs; | 61 | static LLMap<LLUUID, LLPanelGroupLandMoney*> sGroupIDs; |
59 | protected: | ||
60 | class impl; | ||
61 | impl* mImplementationp; | ||
62 | }; | ||
63 | |||
64 | class LLGroupMoneyTabEventHandler | ||
65 | { | ||
66 | public: | ||
67 | LLGroupMoneyTabEventHandler(LLButton* earlier_button, | ||
68 | LLButton* later_button, | ||
69 | LLTextEditor* text_editor, | ||
70 | LLTabContainerCommon* tab_containerp, | ||
71 | LLPanel* panelp, | ||
72 | const LLUUID& group_id, | ||
73 | S32 interval_length_days, | ||
74 | S32 max_interval_days); | ||
75 | virtual ~LLGroupMoneyTabEventHandler(); | ||
76 | 62 | ||
77 | virtual void requestData(LLMessageSystem* msg); | 63 | static void processGroupAccountDetailsReply(LLMessageSystem* msg, void** data); |
78 | virtual void processReply(LLMessageSystem* msg, void** data); | 64 | static void processGroupAccountTransactionsReply(LLMessageSystem* msg, void** data); |
79 | 65 | static void processGroupAccountSummaryReply(LLMessageSystem* msg, void** data); | |
80 | virtual void onClickEarlier(); | 66 | |
81 | virtual void onClickLater(); | ||
82 | virtual void onClickTab(); | ||
83 | |||
84 | static void clickEarlierCallback(void* data); | ||
85 | static void clickLaterCallback(void* data); | ||
86 | static void clickTabCallback(void* user_data, bool from_click); | ||
87 | |||
88 | static LLMap<LLUUID, LLGroupMoneyTabEventHandler*> sInstanceIDs; | ||
89 | static std::map<LLPanel*, LLGroupMoneyTabEventHandler*> sTabsToHandlers; | ||
90 | protected: | 67 | protected: |
91 | class impl; | 68 | class impl; |
92 | impl* mImplementationp; | 69 | impl* mImplementationp; |
93 | }; | 70 | }; |
94 | 71 | ||
95 | class LLGroupMoneyDetailsTabEventHandler : public LLGroupMoneyTabEventHandler | ||
96 | { | ||
97 | public: | ||
98 | LLGroupMoneyDetailsTabEventHandler(LLButton* earlier_buttonp, | ||
99 | LLButton* later_buttonp, | ||
100 | LLTextEditor* text_editorp, | ||
101 | LLTabContainerCommon* tab_containerp, | ||
102 | LLPanel* panelp, | ||
103 | const LLUUID& group_id); | ||
104 | virtual ~LLGroupMoneyDetailsTabEventHandler(); | ||
105 | |||
106 | virtual void requestData(LLMessageSystem* msg); | ||
107 | virtual void processReply(LLMessageSystem* msg, void** data); | ||
108 | |||
109 | static void processGroupAccountDetailsReply(LLMessageSystem* msg, | ||
110 | void** data); | ||
111 | }; | ||
112 | |||
113 | class LLGroupMoneySalesTabEventHandler : public LLGroupMoneyTabEventHandler | ||
114 | { | ||
115 | public: | ||
116 | LLGroupMoneySalesTabEventHandler(LLButton* earlier_buttonp, | ||
117 | LLButton* later_buttonp, | ||
118 | LLTextEditor* text_editorp, | ||
119 | LLTabContainerCommon* tab_containerp, | ||
120 | LLPanel* panelp, | ||
121 | const LLUUID& group_id); | ||
122 | virtual ~LLGroupMoneySalesTabEventHandler(); | ||
123 | |||
124 | virtual void requestData(LLMessageSystem* msg); | ||
125 | virtual void processReply(LLMessageSystem* msg, void** data); | ||
126 | |||
127 | static void processGroupAccountTransactionsReply(LLMessageSystem* msg, | ||
128 | void** data); | ||
129 | }; | ||
130 | |||
131 | class LLGroupMoneyPlanningTabEventHandler : public LLGroupMoneyTabEventHandler | ||
132 | { | ||
133 | public: | ||
134 | LLGroupMoneyPlanningTabEventHandler(LLTextEditor* text_editor, | ||
135 | LLTabContainerCommon* tab_containerp, | ||
136 | LLPanel* panelp, | ||
137 | const LLUUID& group_id); | ||
138 | virtual ~LLGroupMoneyPlanningTabEventHandler(); | ||
139 | |||
140 | virtual void requestData(LLMessageSystem* msg); | ||
141 | virtual void processReply(LLMessageSystem* msg, void** data); | ||
142 | |||
143 | static void processGroupAccountSummaryReply(LLMessageSystem* msg, | ||
144 | void** data); | ||
145 | }; | ||
146 | |||
147 | #endif // LL_PANEL_GROUP_LAND_MONEY_H | 72 | #endif // LL_PANEL_GROUP_LAND_MONEY_H |