aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/floaterotr.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/floaterotr.h')
-rw-r--r--linden/indra/newview/floaterotr.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/linden/indra/newview/floaterotr.h b/linden/indra/newview/floaterotr.h
new file mode 100644
index 0000000..a42700f
--- /dev/null
+++ b/linden/indra/newview/floaterotr.h
@@ -0,0 +1,57 @@
1/**
2* @file floaterotr.h
3* @brief Custom OTR settings for meta-impy
4*
5* $LicenseInfo:firstyear=2009&license=viewergpl$
6*
7* Copyright (c) 2011, David Seikel
8*
9* meta-impy Viewer Source Code
10* The source code in this file ("Source Code") is provided to you
11* under the terms of the GNU General Public License, version 2.0
12* ("GPL"). Terms of the GPL can be found in doc/GPL-license.txt in
13* this distribution, or online at
14* http://secondlifegrid.net/programs/open_source/licensing/gplv2
15*
16* There are special exceptions to the terms and conditions of the GPL as
17* it is applied to this Source Code. View the full text of the exception
18* in the file doc/FLOSS-exception.txt in this software distribution, or
19* online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
20*
21* By copying, modifying or distributing this software, you acknowledge
22* that you have read and understood your obligations described above,
23* and agree to abide by those obligations.
24*
25* ALL SOURCE CODE IS PROVIDED "AS IS." THE AUTHOR MAKES NO
26* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27* COMPLETENESS OR PERFORMANCE.
28* $/LicenseInfo$
29*
30* Copied from floaterbusy.h, originally by McCabe Maxsted from Imprudence.
31*/
32
33#ifndef FLOATEROTR_H
34#define FLOATEROTR_H
35
36#include "llfloater.h"
37
38class LLViewerInventoryItem;
39
40class FloaterOTR : public LLFloater, public LLFloaterSingleton<FloaterOTR>
41{
42public:
43 FloaterOTR(const LLSD& seed);
44 virtual ~FloaterOTR();
45
46 BOOL postBuild();
47
48 void apply();
49 void cancel();
50
51private:
52 static void onClickOK(void* userdata);
53 static void onClickCancel(void* userdata);
54 static void onClickOtrHelp(void* userdata);
55};
56
57#endif // FLOATEROTR_H