summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterevent.h
blob: 436b2a9f754e3220f9e1d13aa605f3a48c94ff27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/** 
 * @file llfloaterevent.h
 * @brief LLFloaterEvent class implementation
 *
 * Copyright (c) 2002-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

/**
* Event information as shown in a floating window from a secondlife:// url.
* Just a wrapper for LLPanelEvent.
*/

#ifndef LL_LLFLOATEREVENT_H
#define LL_LLFLOATEREVENT_H

#include "llfloater.h"

class LLPanelEvent;

class LLFloaterEventInfo : public LLFloater
{
public:
	LLFloaterEventInfo(const std::string& name, const U32 event_id );
	/*virtual*/ ~LLFloaterEventInfo();

	void displayEventInfo(const U32 event_id);

	static LLFloaterEventInfo* show(const U32 event_id);
	
	static void* createEventDetail(void* userdata);

private:
	U32				mEventID;			// for which event is this window?
	LLPanelEvent*	mPanelEventp;

};

#endif // LL_LLFLOATEREVENT_H