summaryrefslogtreecommitdiff
path: root/indra/newview/llagentlistener.h
blob: eed6922b3e2e6b1a3b283c047ac4a7e8b94b9d17 (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 "lleventapi.h"

class LLAgent;
class LLSD;

class LLAgentListener : public LLEventAPI
{
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