diff options
author | dolphin <dolphin@lindenlab.com> | 2014-05-07 16:48:45 -0700 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2014-05-07 16:48:45 -0700 |
commit | d331db79c2a1f07f9919703677b44d4664c36509 (patch) | |
tree | fbfbbf3c9b710bc512b90059d06f47aa5b8fbe92 /indra/newview/llcompilequeue.h | |
parent | d14673988d0d26e5029f8f921bf00cce63e4f767 (diff) |
Build>Scripts>Recompile Scripts now will skip Experience scripts that the agent
can not contribute to and will keep Experience association otherwise.
Diffstat (limited to 'indra/newview/llcompilequeue.h')
-rwxr-xr-x | indra/newview/llcompilequeue.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/indra/newview/llcompilequeue.h b/indra/newview/llcompilequeue.h index 28f4625de8..54842bb302 100755 --- a/indra/newview/llcompilequeue.h +++ b/indra/newview/llcompilequeue.h @@ -81,13 +81,15 @@ protected: // returns true if this is done BOOL isDone() const; + virtual BOOL startQueue(); + // go to the next object. If no objects left, it falls out // silently and waits to be killed by the deleteIfDone() callback. BOOL nextObject(); BOOL popNext(); void setStartString(const std::string& s) { mStartString = s; } - + protected: // UI LLScrollListCtrl* mMessages; @@ -131,6 +133,9 @@ public: LLAssetUploadQueue* getUploadQueue() { return mUploadQueue; } + void experienceIdsReceived( const LLSD& content ); + BOOL hasExperience(const LLUUID& id)const; + protected: LLFloaterCompileQueue(const LLSD& key); virtual ~LLFloaterCompileQueue(); @@ -139,16 +144,21 @@ protected: virtual void handleInventory(LLViewerObject* viewer_obj, LLInventoryObject::object_list_t* inv); + static void requestAsset(struct LLScriptQueueData* datap, const LLSD& experience); + + // This is the callback for when each script arrives static void scriptArrived(LLVFS *vfs, const LLUUID& asset_id, LLAssetType::EType type, void* user_data, S32 status, LLExtStat ext_status); + virtual BOOL startQueue(); protected: LLViewerInventoryItem::item_array_t mCurrentScripts; private: LLAssetUploadQueue* mUploadQueue; + uuid_list_t mExperienceIds; }; //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |