summaryrefslogtreecommitdiff
path: root/indra/newview/llexternaleditor.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-01-21 11:45:15 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-01-21 11:45:15 -0500
commit47d94757075e338c480ba4d7d24948242a85a9bb (patch)
tree5f21b275e7f8ec551428d79087fe928d9f359a4f /indra/newview/llexternaleditor.h
parent6e214960ce203d1d50d7bd6bd04eedee3afd0fa3 (diff)
Convert LLProcess consumers from LLSD to LLProcess::Params block.
Using a Params block gives compile-time checking against attribute typos. One might inadvertently set myLLSD["autofill"] = false and only discover it when things behave strangely at runtime; but trying to set myParams.autofill will produce a compile error. However, it's excellent that the same LLProcess::create() method can accept either LLProcess::Params or a properly-constructed LLSD block.
Diffstat (limited to 'indra/newview/llexternaleditor.h')
-rw-r--r--indra/newview/llexternaleditor.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llexternaleditor.h b/indra/newview/llexternaleditor.h
index e81c360c24..fd2c25020c 100644
--- a/indra/newview/llexternaleditor.h
+++ b/indra/newview/llexternaleditor.h
@@ -27,7 +27,7 @@
#ifndef LL_LLEXTERNALEDITOR_H
#define LL_LLEXTERNALEDITOR_H
-#include "llsd.h"
+#include "llprocess.h"
/**
* Usage:
@@ -97,8 +97,7 @@ private:
*/
static const std::string sSetting;
-
- LLSD mProcessParams;
+ LLProcess::Params mProcessParams;
};
#endif // LL_LLEXTERNALEDITOR_H