diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llremoteparcelrequest.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/linden/indra/newview/llremoteparcelrequest.h b/linden/indra/newview/llremoteparcelrequest.h new file mode 100644 index 0000000..9bb87bf --- /dev/null +++ b/linden/indra/newview/llremoteparcelrequest.h | |||
@@ -0,0 +1,41 @@ | |||
1 | /** | ||
2 | * @file lleventpoll.h | ||
3 | * @brief LLEvDescription of the LLEventPoll class. | ||
4 | * | ||
5 | * $LicenseInfo:firstyear=2006&license=internal$ | ||
6 | * | ||
7 | * Copyright (c) 2006-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 | #ifndef LL_LLREMOTEPARCELREQUEST_H | ||
23 | #define LL_LLREMOTEPARCELREQUEST_H | ||
24 | |||
25 | #include "llhttpclient.h" | ||
26 | #include "llview.h" | ||
27 | |||
28 | class LLRemoteParcelRequestResponder : public LLHTTPClient::Responder | ||
29 | { | ||
30 | public: | ||
31 | LLRemoteParcelRequestResponder(LLViewHandle place_panel_handle); | ||
32 | //If we get back a normal response, handle it here | ||
33 | virtual void result(const LLSD& content); | ||
34 | //If we get back an error (not found, etc...), handle it here | ||
35 | virtual void error(U32 status, const std::string& reason); | ||
36 | |||
37 | protected: | ||
38 | LLViewHandle mPlacePanelHandle; | ||
39 | }; | ||
40 | |||
41 | #endif // LL_LLREMOTEPARCELREQUEST_H | ||