summaryrefslogtreecommitdiff
path: root/indra/llui/llrngwriter.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-08-23 11:03:19 -0700
committerRichard Nelson <none@none>2010-08-23 11:03:19 -0700
commit65c9914d23022df6a39db50ce295750f08695893 (patch)
tree86b2adff34df631a0f2a35d23de67e4adaf688c9 /indra/llui/llrngwriter.cpp
parent2ddeabec91cf14d252e7a0d4687fe2a46eeff8b7 (diff)
made Params parsers not act as singletons
Diffstat (limited to 'indra/llui/llrngwriter.cpp')
-rw-r--r--indra/llui/llrngwriter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llrngwriter.cpp b/indra/llui/llrngwriter.cpp
index 7e3d4b92d3..718c10d2f8 100644
--- a/indra/llui/llrngwriter.cpp
+++ b/indra/llui/llrngwriter.cpp
@@ -36,10 +36,15 @@
#include "lluicolor.h"
#include "lluictrlfactory.h"
+static LLInitParam::Parser::parser_read_func_map_t sReadFuncs;
+static LLInitParam::Parser::parser_write_func_map_t sWriteFuncs;
+static LLInitParam::Parser::parser_inspect_func_map_t sInspectFuncs;
+
//
// LLRNGWriter - writes Relax NG schema files based on a param block
//
LLRNGWriter::LLRNGWriter()
+: Parser(sReadFuncs, sWriteFuncs, sInspectFuncs)
{
// register various callbacks for inspecting the contents of a param block
registerInspectFunc<bool>(boost::bind(&LLRNGWriter::writeAttribute, this, "boolean", _1, _2, _3, _4));