<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
-->
<filedef name="toolrun_main">
<filepath>$(src_path)/main.cpp</filepath>
<blocks>
<namespace name="namespace">
<identifier>$(lib_namespace)</identifier>
</namespace>
<namespace name="tools_namespace">
<identifier>$(toolslib_namespace)</identifier>
</namespace>
</blocks>
<structure>\comment=on
See license.txt for license information.
main.cpp
Generated by tangle. Edit at your own risk!
\comment=off
#include "toolrun_context.hpp"
#include <iostream>
#include "../cppxmlobj/xmlobj_jscript_navigate.hpp"
#include "../tool.hpp"
using namespace \tools_namespace;
int main(int argc, char *argv[])
{
// create a navigator (we use jscript style), and a context
ph::xmlobj::xmlobj_jscript_navigate n(&std::cerr, false);
\namespace::toolrun_context c(&n);
if (!tool::handle_args(argc, argv, c.get_params()))
return 1;
return tool::tool_main(&c, argv[1]);
}
</structure>
</filedef>