diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterclassified.cpp | 55 |
1 files changed, 32 insertions, 23 deletions
diff --git a/linden/indra/newview/llfloaterclassified.cpp b/linden/indra/newview/llfloaterclassified.cpp index 8a71b6c..811cd3a 100644 --- a/linden/indra/newview/llfloaterclassified.cpp +++ b/linden/indra/newview/llfloaterclassified.cpp | |||
@@ -1,26 +1,34 @@ | |||
1 | /** | 1 | /** |
2 | * @file llfloaterclassified.cpp | 2 | * @file llfloaterclassified.cpp |
3 | * @brief LLFloaterClassifiedInfo class implementation | 3 | * @brief Classified information as shown in a floating window from |
4 | * | 4 | * secondlife:// command handler. |
5 | * Classified information as shown in a floating window from secondlife:// command | 5 | * |
6 | * handler. | 6 | * $LicenseInfo:firstyear=2002&license=viewergpl$ |
7 | * | 7 | * |
8 | * $LicenseInfo:firstyear=2002&license=internal$ | 8 | * Copyright (c) 2002-2008, Linden Research, Inc. |
9 | * | 9 | * |
10 | * Copyright (c) 2002-2008, Linden Research, Inc. | 10 | * Second Life Viewer Source Code |
11 | * | 11 | * The source code in this file ("Source Code") is provided by Linden Lab |
12 | * The following source code is PROPRIETARY AND CONFIDENTIAL. Use of | 12 | * to you under the terms of the GNU General Public License, version 2.0 |
13 | * this source code is governed by the Linden Lab Source Code Disclosure | 13 | * ("GPL"), unless you have obtained a separate licensing agreement |
14 | * Agreement ("Agreement") previously entered between you and Linden | 14 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
15 | * Lab. By accessing, using, copying, modifying or distributing this | 15 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
16 | * software, you acknowledge that you have been informed of your | 16 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
17 | * obligations under the Agreement and agree to abide by those obligations. | 17 | * |
18 | * | 18 | * There are special exceptions to the terms and conditions of the GPL as |
19 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 19 | * it is applied to this Source Code. View the full text of the exception |
20 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 20 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
21 | * COMPLETENESS OR PERFORMANCE. | 21 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
22 | * $/LicenseInfo$ | 22 | * |
23 | */ | 23 | * By copying, modifying or distributing this software, you acknowledge |
24 | * that you have read and understood your obligations described above, | ||
25 | * and agree to abide by those obligations. | ||
26 | * | ||
27 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
28 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
29 | * COMPLETENESS OR PERFORMANCE. | ||
30 | * $/LicenseInfo$ | ||
31 | */ | ||
24 | 32 | ||
25 | #include "llviewerprecompiledheaders.h" | 33 | #include "llviewerprecompiledheaders.h" |
26 | 34 | ||
@@ -45,7 +53,8 @@ LLMap< const LLUUID, LLFloaterClassifiedInfo* > gClassifiedInfoInstances; | |||
45 | class LLClassifiedHandler : public LLCommandHandler | 53 | class LLClassifiedHandler : public LLCommandHandler |
46 | { | 54 | { |
47 | public: | 55 | public: |
48 | LLClassifiedHandler() : LLCommandHandler("classified") { } | 56 | // don't allow from external browsers |
57 | LLClassifiedHandler() : LLCommandHandler("classified", false) { } | ||
49 | bool handle(const LLSD& tokens, const LLSD& queryMap) | 58 | bool handle(const LLSD& tokens, const LLSD& queryMap) |
50 | { | 59 | { |
51 | if (tokens.size() < 2) | 60 | if (tokens.size() < 2) |