PageRenderTime 38ms CodeModel.GetById 34ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/llpanelgroupinvite.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 60 lines | 25 code | 8 blank | 27 comment | 0 complexity | 80c7194ad6dd54b49157b1bed1fe8ee1 MD5 | raw file
 1/** 
 2 * @file llpanelgroupinvite.h
 3 *
 4 * $LicenseInfo:firstyear=2006&license=viewerlgpl$
 5 * Second Life Viewer Source Code
 6 * Copyright (C) 2010, Linden Research, Inc.
 7 * 
 8 * This library is free software; you can redistribute it and/or
 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation;
11 * version 2.1 of the License only.
12 * 
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 * Lesser General Public License for more details.
17 * 
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21 * 
22 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
23 * $/LicenseInfo$
24 */
25
26#ifndef LL_LLPANELGROUPINVITE_H
27#define LL_LLPANELGROUPINVITE_H
28
29#include "llpanel.h"
30#include "lluuid.h"
31
32class LLPanelGroupInvite
33: public LLPanel
34{
35public:
36	LLPanelGroupInvite(const LLUUID& group_id);
37	~LLPanelGroupInvite();
38	
39	void addUsers(uuid_vec_t& agent_ids);
40	/**
41	 * this callback is being used to add a user whose fullname isn't been loaded before invoking of addUsers().
42	 */  
43	void addUserCallback(const LLUUID& id, const std::string& full_name);
44	void clear();
45	void update();
46
47	void setCloseCallback(void (*close_callback)(void*), void* data);
48
49	virtual void draw();
50	virtual BOOL postBuild();
51protected:
52	class impl;
53	impl* mImplementation;
54
55	BOOL mPendingUpdate;
56	LLUUID mStoreSelected;
57	void updateLists();
58};
59
60#endif