aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterclassified.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:27 -0500
committerJacek Antonelli2008-08-15 23:45:27 -0500
commita8a62201ba762e98dff92cf49033e577fc34d8d4 (patch)
tree11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/newview/llfloaterclassified.cpp
parentSecond Life viewer sources 1.18.6.4-RC (diff)
downloadmeta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz
Second Life viewer sources 1.19.0.0
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterclassified.cpp55
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;
45class LLClassifiedHandler : public LLCommandHandler 53class LLClassifiedHandler : public LLCommandHandler
46{ 54{
47public: 55public:
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)