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