diff options
author | dolphin <dolphin@lindenlab.com> | 2013-08-19 09:24:04 -0700 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2013-08-19 09:24:04 -0700 |
commit | b980efd014ddb56650fffeb7968901b8e6bc2837 (patch) | |
tree | 6c21ef82c540379030833af5e1a1aeae999526fd /indra/newview/llexperienceassociationresponder.h | |
parent | 02b501e4dc9a389878cd323e4f781bc752fec737 (diff) |
Added experience association info llsidepaneliteminfo for scripts.
Changed the cap which looks up a script association to take a object/item id pair
instead of a asset id.
Updated llpreviewscript to use the new cap (which also improves loading time
since it can be done in parallel with the lsltext retrieval).
Diffstat (limited to 'indra/newview/llexperienceassociationresponder.h')
-rw-r--r-- | indra/newview/llexperienceassociationresponder.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llexperienceassociationresponder.h b/indra/newview/llexperienceassociationresponder.h index aa0c51abb5..8ff62a3dbc 100644 --- a/indra/newview/llexperienceassociationresponder.h +++ b/indra/newview/llexperienceassociationresponder.h @@ -40,10 +40,15 @@ public: typedef boost::function<void(const LLSD& experience)> callback_t; ExperienceAssociationResponder(callback_t callback); + virtual void result(const LLSD& content); virtual void error(U32 status, const std::string& reason); -private: + static void fetchAssociatedExperience(const LLUUID& object_it, const LLUUID& item_id, callback_t callback); + +private: + static void fetchAssociatedExperience(LLSD& request, callback_t callback); + void sendResult(const LLSD& experience); callback_t mCallback; |