aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterrate.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterrate.h88
1 files changed, 0 insertions, 88 deletions
diff --git a/linden/indra/newview/llfloaterrate.h b/linden/indra/newview/llfloaterrate.h
deleted file mode 100644
index 1b24383..0000000
--- a/linden/indra/newview/llfloaterrate.h
+++ /dev/null
@@ -1,88 +0,0 @@
1/**
2 * @file llfloaterrate.h
3 * @brief Dialog for rating avatars. He's a ten!
4 *
5 * Copyright (c) 2002-2007, Linden Research, Inc.
6 *
7 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement
10 * ("Other License"), formally executed by you and Linden Lab. Terms of
11 * the GPL can be found in doc/GPL-license.txt in this distribution, or
12 * online at http://secondlife.com/developers/opensource/gplv2
13 *
14 * There are special exceptions to the terms and conditions of the GPL as
15 * it is applied to this Source Code. View the full text of the exception
16 * in the file doc/FLOSS-exception.txt in this software distribution, or
17 * online at http://secondlife.com/developers/opensource/flossexception
18 *
19 * By copying, modifying or distributing this software, you acknowledge
20 * that you have read and understood your obligations described above,
21 * and agree to abide by those obligations.
22 *
23 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
24 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
25 * COMPLETENESS OR PERFORMANCE.
26 */
27
28#ifndef LL_LLFLOATERRATE_H
29#define LL_LLFLOATERRATE_H
30
31#ifndef LL_LLFLOATER_H
32#include "llfloater.h"
33#endif
34
35#include "lluuid.h"
36#include <map>
37
38class LLTextBox;
39class LLRadioGroup;
40class LLButton;
41class LLMessageSystem;
42class LLLineEditor;
43class LLObjectSelection;
44
45class LLFloaterRate
46: public LLFloater
47{
48public:
49 virtual void draw();
50
51 // Call this if you have the avatar id
52 static void show(const LLUUID &avatar_id);
53
54 // Types for show() below
55 enum ERateSelection {
56 RS_CREATOR,
57 RS_OWNER
58 };
59
60 // Call this to rate the currently selected object, either
61 // the creator or the owner.
62 static void show(ERateSelection which);
63
64 static void processReputationIndividualReply(LLMessageSystem *msg, void**);
65
66protected:
67 LLFloaterRate(const std::string& name, const LLUUID &id);
68 virtual ~LLFloaterRate();
69
70 void sendReputationIndividualRequest(const LLUUID &avatar_id);
71
72 static void onClickOK(void *data);
73 static void onClickCancel(void *data);
74
75protected:
76 typedef std::map<LLUUID, LLFloaterRate *> instance_map_t;
77 static instance_map_t sInstanceMap;
78
79protected:
80 LLUUID mAvatarID;
81 F32 mLastBehavior;
82 F32 mLastAppearance;
83 F32 mLastBuilding;
84 BOOL mReputationRequested;
85 LLHandle<LLObjectSelection> mObjectSelection;
86};
87
88#endif