summaryrefslogtreecommitdiff
path: root/indra/newview/lluploadfloaterobservers.h
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2011-06-30 15:57:14 -0400
committerNyx (Neal Orman) <nyx@lindenlab.com>2011-06-30 15:57:14 -0400
commit1716b8428f88989b2b8898e27cc137e7746a4805 (patch)
tree2a488249a8618ec6aa406e140637701d6fa98f87 /indra/newview/lluploadfloaterobservers.h
parent06b1202747c07409c877cb89432f0df0bfacba47 (diff)
parent17060f4e92b12ab74a1b570cd9ee4d1543fb23d1 (diff)
Automated merge with https://bitbucket.org/seth_productengine/mesh-development
Diffstat (limited to 'indra/newview/lluploadfloaterobservers.h')
-rw-r--r--indra/newview/lluploadfloaterobservers.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/indra/newview/lluploadfloaterobservers.h b/indra/newview/lluploadfloaterobservers.h
index fb4be72378..c912c9755a 100644
--- a/indra/newview/lluploadfloaterobservers.h
+++ b/indra/newview/lluploadfloaterobservers.h
@@ -62,6 +62,24 @@ protected:
LLRootHandle<LLWholeModelFeeObserver> mWholeModelFeeObserverHandle;
};
+
+class LLWholeModelUploadObserver
+{
+public:
+ LLWholeModelUploadObserver() { mWholeModelUploadObserverHandle.bind(this); }
+ virtual ~LLWholeModelUploadObserver() {}
+
+ virtual void onModelUploadSuccess() = 0;
+
+ virtual void onModelUploadFailure() = 0;
+
+ LLHandle<LLWholeModelUploadObserver> getWholeModelUploadObserverHandle() const { return mWholeModelUploadObserverHandle; }
+
+protected:
+ LLRootHandle<LLWholeModelUploadObserver> mWholeModelUploadObserverHandle;
+};
+
+
class LLUploadModelPremissionsResponder : public LLHTTPClient::Responder
{
public: