summaryrefslogtreecommitdiff
path: root/indra/newview/llagentlistener.h
blob: 6f0b5a54c5f0efd54b8bd116437b00779ae63879 (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
/**
 * @file   llagentlistener.h
 * @author Brad Kittenbrink
 * @date   2009-07-09
 * @brief  Event API for subset of LLViewerControl methods
 * 
 * $LicenseInfo:firstyear=2009&license=viewergpl$
 * Copyright (c) 2009, Linden Research, Inc.
 * $/LicenseInfo$
 */


#ifndef LL_LLAGENTLISTENER_H
#define LL_LLAGENTLISTENER_H

#include "lleventdispatcher.h"

class LLAgent;
class LLSD;

class LLAgentListener : public LLDispatchListener
{
public:
	LLAgentListener(LLAgent &agent);

private:
	void requestTeleport(LLSD const & event_data) const;
	void requestSit(LLSD const & event_data) const;
	void requestStand(LLSD const & event_data) const;

private:
	LLAgent & mAgent;
};

#endif // LL_LLAGENTLISTENER_H