aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelgroupvoting.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelgroupvoting.h')
-rw-r--r--linden/indra/newview/llpanelgroupvoting.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/linden/indra/newview/llpanelgroupvoting.h b/linden/indra/newview/llpanelgroupvoting.h
index bc9735a..3d56f69 100644
--- a/linden/indra/newview/llpanelgroupvoting.h
+++ b/linden/indra/newview/llpanelgroupvoting.h
@@ -12,12 +12,12 @@
12 * ("GPL"), unless you have obtained a separate licensing agreement 12 * ("GPL"), unless you have obtained a separate licensing agreement
13 * ("Other License"), formally executed by you and Linden Lab. Terms of 13 * ("Other License"), formally executed by you and Linden Lab. Terms of
14 * the GPL can be found in doc/GPL-license.txt in this distribution, or 14 * the GPL can be found in doc/GPL-license.txt in this distribution, or
15 * online at http://secondlife.com/developers/opensource/gplv2 15 * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
16 * 16 *
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlife.com/developers/opensource/flossexception 20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 21 *
22 * By copying, modifying or distributing this software, you acknowledge 22 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 23 * that you have read and understood your obligations described above,
@@ -37,6 +37,12 @@
37class LLPanelGroupVoting : public LLPanelGroupTab 37class LLPanelGroupVoting : public LLPanelGroupTab
38{ 38{
39public: 39public:
40 enum ResponseType
41 {
42 START_VOTE,
43 BALLOT
44 };
45
40 LLPanelGroupVoting(const std::string& name, const LLUUID& group_id); 46 LLPanelGroupVoting(const std::string& name, const LLUUID& group_id);
41 virtual ~LLPanelGroupVoting(); 47 virtual ~LLPanelGroupVoting();
42 48
@@ -49,7 +55,7 @@ public:
49 virtual bool needsApply(LLString& mesg); 55 virtual bool needsApply(LLString& mesg);
50 virtual bool apply(LLString& mesg); 56 virtual bool apply(LLString& mesg);
51 virtual void update(LLGroupChange gc); 57 virtual void update(LLGroupChange gc);
52 58 static void handleResponse(void *userdata, ResponseType response, bool succes=true);
53protected: 59protected:
54 class impl; 60 class impl;
55 impl* mImpl; 61 impl* mImpl;