diff options
author | Rider Linden <rider@lindenlab.com> | 2015-05-29 13:17:03 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-05-29 13:17:03 -0700 |
commit | d41ad508bf10643c3bfeb70dd8f39e187d618a02 (patch) | |
tree | cf8816d6d78ad1405246c7a998b8c4cf13147eca /indra/newview/llproductinforequest.h | |
parent | 4fb588187106b18724d730e6235fc57454744341 (diff) |
Land SKU descriptions by coro
Diffstat (limited to 'indra/newview/llproductinforequest.h')
-rwxr-xr-x | indra/newview/llproductinforequest.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/indra/newview/llproductinforequest.h b/indra/newview/llproductinforequest.h index fe8f7093b0..44aaa9d6e4 100755 --- a/indra/newview/llproductinforequest.h +++ b/indra/newview/llproductinforequest.h @@ -30,25 +30,28 @@ #include "llhttpclient.h" #include "llmemory.h" +#include "lleventcoro.h" +#include "llcoros.h" -/* - This is a singleton to manage a cache of information about land types. - The land system provides a capability to get information about the - set of possible land sku, name, and description information. - We use description in the UI, but the sku is provided in the various - messages; this tool provides translation between the systems. +/** + * This is a singleton to manage a cache of information about land types. + * The land system provides a capability to get information about the + * set of possible land sku, name, and description information. + * We use description in the UI, but the sku is provided in the various + * messages; this tool provides translation between the systems. */ - class LLProductInfoRequestManager : public LLSingleton<LLProductInfoRequestManager> { public: LLProductInfoRequestManager(); - void setSkuDescriptions(const LLSD& content); std::string getDescriptionForSku(const std::string& sku); + private: friend class LLSingleton<LLProductInfoRequestManager>; /* virtual */ void initSingleton(); - LLSD mSkuDescriptions; + + void getLandDescriptionsCoro(LLCoros::self& self, std::string url); + LLSD mSkuDescriptions; }; #endif // LL_LLPRODUCTINFOREQUEST_H |