diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-03-24 16:39:59 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-03-24 16:39:59 -0700 |
commit | 7480e069349e2b3a7581267d13f52c63e459af64 (patch) | |
tree | cbd4df607c826437f2bd13b0b62144af896378a7 /indra/newview/llassetuploadresponders.h | |
parent | 11e6e208d43f1347037fb312921a65af138f47b4 (diff) |
Hooked up Save As Profile Pic
reviewed by Richard CC# 167
Diffstat (limited to 'indra/newview/llassetuploadresponders.h')
-rw-r--r-- | indra/newview/llassetuploadresponders.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/indra/newview/llassetuploadresponders.h b/indra/newview/llassetuploadresponders.h index e656351305..ade9c96758 100644 --- a/indra/newview/llassetuploadresponders.h +++ b/indra/newview/llassetuploadresponders.h @@ -33,6 +33,7 @@ #ifndef LL_LLASSETUPLOADRESPONDER_H #define LL_LLASSETUPLOADRESPONDER_H +#include "llassetstorage.h" #include "llhttpclient.h" // Abstract class for supporting asset upload @@ -66,10 +67,15 @@ class LLNewAgentInventoryResponder : public LLAssetUploadResponder public: LLNewAgentInventoryResponder(const LLSD& post_data, const LLUUID& vfile_id, - LLAssetType::EType asset_type); - LLNewAgentInventoryResponder(const LLSD& post_data, const std::string& file_name, - LLAssetType::EType asset_type); + LLAssetType::EType asset_type, + boost::function<void(const LLUUID& uuid)> callback = NULL); + LLNewAgentInventoryResponder(const LLSD& post_data, + const std::string& file_name, + LLAssetType::EType asset_type, + boost::function<void(const LLUUID& uuid)> callback = NULL); virtual void uploadComplete(const LLSD& content); + + boost::function<void(const LLUUID& uuid)> mCallback; }; class LLBakedUploadData; |