PageRenderTime 52ms CodeModel.GetById 30ms app.highlight 4ms RepoModel.GetById 16ms app.codeStats 0ms

/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
27#ifndef LL_PANEL_GROUP_LAND_MONEY_H
28#define LL_PANEL_GROUP_LAND_MONEY_H
29
30#include "llpanelgroup.h"
31#include "llmap.h"
32#include "lluuid.h"
33
34class LLPanelGroupLandMoney : public LLPanelGroupTab
35{
36public:
37	LLPanelGroupLandMoney();
38	virtual ~LLPanelGroupLandMoney();
39	virtual BOOL postBuild();
40	virtual BOOL isVisibleByAgent(LLAgent* agentp);
41
42	virtual void activate();
43	virtual bool needsApply(std::string& mesg);
44	virtual bool apply(std::string& mesg);
45	virtual void cancel();
46	virtual void update(LLGroupChange gc);
47
48	static void processPlacesReply(LLMessageSystem* msg, void**);
49
50	static LLMap<LLUUID, LLPanelGroupLandMoney*> sGroupIDs;
51
52	static void processGroupAccountDetailsReply(LLMessageSystem* msg,  void** data);
53	static void processGroupAccountTransactionsReply(LLMessageSystem* msg, void** data);
54	static void processGroupAccountSummaryReply(LLMessageSystem* msg, void** data);
55
56	virtual void setGroupID(const LLUUID& id);
57
58	virtual void onLandSelectionChanged();
59	
60protected:
61	class impl;
62	impl* mImplementationp;
63};
64
65#endif // LL_PANEL_GROUP_LAND_MONEY_H