PageRenderTime 102ms CodeModel.GetById 40ms app.highlight 4ms RepoModel.GetById 36ms app.codeStats 1ms

/indra/newview/llfloaterinspect.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 76 lines | 32 code | 11 blank | 33 comment | 0 complexity | 95063a85ffd5a8d326ff2f5741caf54a MD5 | raw file
 1/** 
 2* @file llfloaterinspect.h
 3* @author Cube
 4* @date 2006-12-16
 5* @brief Declaration of class for displaying object attributes
 6*
 7* $LicenseInfo:firstyear=2006&license=viewerlgpl$
 8* Second Life Viewer Source Code
 9* Copyright (C) 2010, Linden Research, Inc.
10* 
11* This library is free software; you can redistribute it and/or
12* modify it under the terms of the GNU Lesser General Public
13* License as published by the Free Software Foundation;
14* version 2.1 of the License only.
15* 
16* This library is distributed in the hope that it will be useful,
17* but WITHOUT ANY WARRANTY; without even the implied warranty of
18* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19* Lesser General Public License for more details.
20* 
21* You should have received a copy of the GNU Lesser General Public
22* License along with this library; if not, write to the Free Software
23* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
24* 
25* Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
26* $/LicenseInfo$
27*/
28
29#ifndef LL_LLFLOATERINSPECT_H
30#define LL_LLFLOATERINSPECT_H
31
32#include "llavatarname.h"
33#include "llfloater.h"
34
35//class LLTool;
36class LLObjectSelection;
37class LLScrollListCtrl;
38class LLUICtrl;
39
40class LLFloaterInspect : public LLFloater
41{
42	friend class LLFloaterReg;
43public:
44
45//	static void show(void* ignored = NULL);
46	void onOpen(const LLSD& key);
47	virtual BOOL postBuild();
48	void dirty();
49	LLUUID getSelectedUUID();
50	virtual void draw();
51	virtual void refresh();
52//	static BOOL isVisible();
53	virtual void onFocusReceived();
54	void onClickCreatorProfile();
55	void onClickOwnerProfile();
56	void onSelectObject();
57
58	static void onGetAvNameCallback(const LLUUID& idCreator, const LLAvatarName& av_name, void* FloaterPtr);
59
60	LLScrollListCtrl* mObjectList;
61protected:
62	// protected members
63	void setDirty() { mDirty = TRUE; }
64	bool mDirty;
65
66private:
67	
68	LLFloaterInspect(const LLSD& key);
69	virtual ~LLFloaterInspect(void);
70	// static data
71//	static LLFloaterInspect* sInstance;
72
73	LLSafeHandle<LLObjectSelection> mObjectSelection;
74};
75
76#endif //LL_LLFLOATERINSPECT_H