PageRenderTime 1967ms CodeModel.GetById 399ms app.highlight 337ms RepoModel.GetById 472ms app.codeStats 0ms

/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
27#ifndef LL_LLFLOATERLANDHOLDINGS_H
28#define LL_LLFLOATERLANDHOLDINGS_H
29
30#include "llfloater.h"
31
32class LLMessageSystem;
33class LLTextBox;
34class LLScrollListCtrl;
35class LLButton;
36
37class LLFloaterLandHoldings
38:	public LLFloater
39{
40public:
41	LLFloaterLandHoldings(const LLSD& key);
42	virtual ~LLFloaterLandHoldings();
43	
44	virtual BOOL postBuild();
45	virtual void onOpen(const LLSD& key);
46	virtual void draw();
47
48	void refresh();
49
50	void buttonCore(S32 which);
51
52	static void processPlacesReply(LLMessageSystem* msg, void**);
53
54	static void onClickTeleport(void*);
55	static void onClickMap(void*);
56	static void onClickLandmark(void*);
57
58	static void onGrantList(void* data);
59
60protected:
61	void refreshAggregates();
62
63protected:
64	// Sum up as packets arrive the total holdings
65	S32 mActualArea;
66	S32 mBillableArea;
67
68	// Has a packet of data been received?
69	// Used to clear out the mParcelList's "Loading..." indicator
70	BOOL mFirstPacketReceived;
71
72	std::string mSortColumn;
73	BOOL mSortAscending;
74};
75
76#endif