diff options
Diffstat (limited to 'linden/indra/newview/llpanelmoney.h')
-rw-r--r-- | linden/indra/newview/llpanelmoney.h | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/linden/indra/newview/llpanelmoney.h b/linden/indra/newview/llpanelmoney.h deleted file mode 100644 index 9600a33..0000000 --- a/linden/indra/newview/llpanelmoney.h +++ /dev/null | |||
@@ -1,106 +0,0 @@ | |||
1 | /** | ||
2 | * @file llpanelmoney.h | ||
3 | * @author James Cook | ||
4 | * @brief Panels for Account History floater | ||
5 | * | ||
6 | * Copyright (c) 2003-2007, Linden Research, Inc. | ||
7 | * | ||
8 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
9 | * to you under the terms of the GNU General Public License, version 2.0 | ||
10 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
11 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
12 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
13 | * online at http://secondlife.com/developers/opensource/gplv2 | ||
14 | * | ||
15 | * There are special exceptions to the terms and conditions of the GPL as | ||
16 | * it is applied to this Source Code. View the full text of the exception | ||
17 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
18 | * online at http://secondlife.com/developers/opensource/flossexception | ||
19 | * | ||
20 | * By copying, modifying or distributing this software, you acknowledge | ||
21 | * that you have read and understood your obligations described above, | ||
22 | * and agree to abide by those obligations. | ||
23 | * | ||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
26 | * COMPLETENESS OR PERFORMANCE. | ||
27 | */ | ||
28 | |||
29 | #ifndef LL_LLPANELMONEY_H | ||
30 | #define LL_LLPANELMONEY_H | ||
31 | |||
32 | #include "llpanel.h" | ||
33 | #include "lluuid.h" | ||
34 | |||
35 | class LLMessageSystem; | ||
36 | class LLTextEditor; | ||
37 | class LLButton; | ||
38 | |||
39 | // Base class for all the panels. | ||
40 | class LLPanelAccount | ||
41 | : public LLPanel | ||
42 | { | ||
43 | public: | ||
44 | LLPanelAccount(const LLUUID& request_id, S32 interval_days, S32 max_interval, const std::string& filename); | ||
45 | |||
46 | void setDataRequested(BOOL b) { mDataRequested = b; } | ||
47 | |||
48 | virtual void draw(); | ||
49 | |||
50 | virtual void sendRequest() = 0; | ||
51 | virtual void processReply(LLMessageSystem* msg, void** data) = 0; | ||
52 | |||
53 | void refreshPanel(); | ||
54 | |||
55 | static void onClickEarlier(void* userdata); | ||
56 | static void onClickLater(void* userdata); | ||
57 | |||
58 | protected: | ||
59 | LLUUID mRequestID; | ||
60 | |||
61 | BOOL mDataRequested; | ||
62 | |||
63 | // Time between start and end day, inclusive. 7 = one week | ||
64 | S32 mIntervalDays; | ||
65 | |||
66 | // How many intervals back are we looking? | ||
67 | static S32 sCurrentInterval; | ||
68 | S32 mDisplayedInterval; | ||
69 | |||
70 | S32 mMaxInterval; | ||
71 | }; | ||
72 | |||
73 | |||
74 | class LLPanelAccountPlanning | ||
75 | : public LLPanelAccount | ||
76 | { | ||
77 | public: | ||
78 | LLPanelAccountPlanning(const LLUUID& request_id); | ||
79 | |||
80 | virtual void sendRequest(); | ||
81 | virtual void processReply(LLMessageSystem* msg, void** data); | ||
82 | }; | ||
83 | |||
84 | |||
85 | class LLPanelAccountDetails | ||
86 | : public LLPanelAccount | ||
87 | { | ||
88 | public: | ||
89 | LLPanelAccountDetails(const LLUUID& request_id); | ||
90 | |||
91 | virtual void sendRequest(); | ||
92 | virtual void processReply(LLMessageSystem* msg, void** data); | ||
93 | }; | ||
94 | |||
95 | |||
96 | class LLPanelAccountTransactions | ||
97 | : public LLPanelAccount | ||
98 | { | ||
99 | public: | ||
100 | LLPanelAccountTransactions(const LLUUID& request_id); | ||
101 | |||
102 | virtual void sendRequest(); | ||
103 | virtual void processReply(LLMessageSystem* msg, void** data); | ||
104 | }; | ||
105 | |||
106 | #endif | ||