summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerassetupload.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerassetupload.h')
-rw-r--r--indra/newview/llviewerassetupload.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/indra/newview/llviewerassetupload.h b/indra/newview/llviewerassetupload.h
index c627e9dbb8..9692c4814b 100644
--- a/indra/newview/llviewerassetupload.h
+++ b/indra/newview/llviewerassetupload.h
@@ -256,25 +256,19 @@ private:
class LLScriptAssetUpload : public LLBufferedAssetUploadInfo
{
public:
- enum TargetType_t
- {
- LSL2,
- MONO
- };
-
- LLScriptAssetUpload(LLUUID itemId, std::string buffer, invnUploadFinish_f finish, uploadFailed_f failed);
- LLScriptAssetUpload(LLUUID taskId, LLUUID itemId, TargetType_t targetType,
+ LLScriptAssetUpload(LLUUID itemId, std::string compileTarget, std::string buffer, invnUploadFinish_f finish, uploadFailed_f failed);
+ LLScriptAssetUpload(LLUUID taskId, LLUUID itemId, std::string compileTarget,
bool isRunning, LLUUID exerienceId, std::string buffer, taskUploadFinish_f finish, uploadFailed_f failed);
virtual LLSD generatePostBody();
LLUUID getExerienceId() const { return mExerienceId; }
- TargetType_t getTargetType() const { return mTargetType; }
+ const std::string& getCompileTarget() const { return mCompileTarget; }
bool getIsRunning() const { return mIsRunning; }
private:
LLUUID mExerienceId;
- TargetType_t mTargetType;
+ std::string mCompileTarget;
bool mIsRunning;
};