summaryrefslogtreecommitdiff
path: root/indra/newview/llclassifiedstatsresponder.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llclassifiedstatsresponder.h')
-rw-r--r--indra/newview/llclassifiedstatsresponder.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/indra/newview/llclassifiedstatsresponder.h b/indra/newview/llclassifiedstatsresponder.h
new file mode 100644
index 0000000000..25ae67141c
--- /dev/null
+++ b/indra/newview/llclassifiedstatsresponder.h
@@ -0,0 +1,28 @@
+/**
+ * @file llclassifiedstatsrequest.h
+ * @brief Responder class for classified stats request.
+ *
+ * Copyright (c) 2006-$CurrentYear$, Linden Research, Inc.
+ * $License$
+ */
+
+#ifndef LL_LLCLASSIFIEDSTATSRESPONDER_H
+#define LL_LLCLASSIFIEDSTATSRESPONDER_H
+
+#include "llhttpclient.h"
+#include "llview.h"
+
+class LLClassifiedStatsResponder : public LLHTTPClient::Responder
+{
+public:
+ LLClassifiedStatsResponder(LLViewHandle classified_panel_handle);
+ //If we get back a normal response, handle it here
+ virtual void result(const LLSD& content);
+ //If we get back an error (not found, etc...), handle it here
+ virtual void error(U32 status, const std::string& reason);
+
+protected:
+ LLViewHandle mClassifiedPanelHandle;
+};
+
+#endif // LL_LLCLASSIFIEDSTATSRESPONDER_H