diff options
Diffstat (limited to 'linden/indra/newview/llfloaterevent.h')
-rw-r--r-- | linden/indra/newview/llfloaterevent.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterevent.h b/linden/indra/newview/llfloaterevent.h new file mode 100644 index 0000000..2946ff4 --- /dev/null +++ b/linden/indra/newview/llfloaterevent.h | |||
@@ -0,0 +1,52 @@ | |||
1 | /** | ||
2 | * @file llfloaterevent.h | ||
3 | * @brief LLFloaterEvent class implementation | ||
4 | * | ||
5 | * $LicenseInfo:firstyear=2002&license=internal$ | ||
6 | * | ||
7 | * Copyright (c) 2002-2007, Linden Research, Inc. | ||
8 | * | ||
9 | * The following source code is PROPRIETARY AND CONFIDENTIAL. Use of | ||
10 | * this source code is governed by the Linden Lab Source Code Disclosure | ||
11 | * Agreement ("Agreement") previously entered between you and Linden | ||
12 | * Lab. By accessing, using, copying, modifying or distributing this | ||
13 | * software, you acknowledge that you have been informed of your | ||
14 | * obligations under the Agreement and agree to abide by those obligations. | ||
15 | * | ||
16 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
17 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
18 | * COMPLETENESS OR PERFORMANCE. | ||
19 | * $/LicenseInfo$ | ||
20 | */ | ||
21 | |||
22 | /** | ||
23 | * Event information as shown in a floating window from a secondlife:// url. | ||
24 | * Just a wrapper for LLPanelEvent. | ||
25 | */ | ||
26 | |||
27 | #ifndef LL_LLFLOATEREVENT_H | ||
28 | #define LL_LLFLOATEREVENT_H | ||
29 | |||
30 | #include "llfloater.h" | ||
31 | |||
32 | class LLPanelEvent; | ||
33 | |||
34 | class LLFloaterEventInfo : public LLFloater | ||
35 | { | ||
36 | public: | ||
37 | LLFloaterEventInfo(const std::string& name, const U32 event_id ); | ||
38 | /*virtual*/ ~LLFloaterEventInfo(); | ||
39 | |||
40 | void displayEventInfo(const U32 event_id); | ||
41 | |||
42 | static LLFloaterEventInfo* show(const U32 event_id); | ||
43 | |||
44 | static void* createEventDetail(void* userdata); | ||
45 | |||
46 | private: | ||
47 | U32 mEventID; // for which event is this window? | ||
48 | LLPanelEvent* mPanelEventp; | ||
49 | |||
50 | }; | ||
51 | |||
52 | #endif // LL_LLFLOATEREVENT_H | ||