diff options
author | Oz Linden <oz@lindenlab.com> | 2016-04-04 15:53:09 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2016-04-04 15:53:09 -0400 |
commit | 9be58e915a6c69de280ccabd3019e9ac40beed26 (patch) | |
tree | ad6f8f1f754a865afb761d0f17744cc7e1ef8b74 /indra/newview/llfloaterperms.h | |
parent | ab46c9226bd9048fa218f54bc8668594401529e7 (diff) | |
parent | 18928ea6c6f2830a0d45ec412c915eceff1b76b0 (diff) |
merge with 4.0.3-release
Diffstat (limited to 'indra/newview/llfloaterperms.h')
-rw-r--r-- | indra/newview/llfloaterperms.h | 37 |
1 files changed, 4 insertions, 33 deletions
diff --git a/indra/newview/llfloaterperms.h b/indra/newview/llfloaterperms.h index d3b52c1fe5..e866b6de7d 100644 --- a/indra/newview/llfloaterperms.h +++ b/indra/newview/llfloaterperms.h @@ -29,7 +29,8 @@ #define LL_LLFLOATERPERMPREFS_H #include "llfloater.h" -#include "llhttpclient.h" +#include "lleventcoro.h" +#include "llcoros.h" class LLFloaterPerms : public LLFloater { @@ -81,6 +82,8 @@ private: void refresh(); static const std::string sCategoryNames[CAT_LAST]; + static void updateCapCoro(std::string url); + // cached values only for implementing cancel. bool mShareWithGroup[CAT_LAST]; @@ -90,36 +93,4 @@ private: bool mNextOwnerTransfer[CAT_LAST]; }; -class LLFloaterPermsRequester -{ -public: - LLFloaterPermsRequester(const std::string url, const LLSD report, int maxRetries); - - static void init(const std::string url, const LLSD report, int maxRetries); - static void finalize(); - static LLFloaterPermsRequester* instance(); - - void start(); - bool retry(); - -private: - int mRetriesCount; - int mMaxRetries; - const std::string mUrl; - const LLSD mReport; -public: - static LLFloaterPermsRequester* sPermsRequester; -}; - -class LLFloaterPermsResponder : public LLHTTPClient::Responder -{ -public: - LLFloaterPermsResponder() : LLHTTPClient::Responder() {} -private: - static std::string sPreviousReason; - - void httpFailure(); - void httpSuccess(); -}; - #endif |