DRDE/ACTK1_0/se/LPE/LPCreate.cpp

23 lines
610 B
C++

#include "LPCreate.hpp"
#include "xml/XMLHelper.hpp"
namespace {
Extension& launchPhaseExtension() {
static Extension* lpExtension = new LPExtension();
return *lpExtension;
}
}; // anonymous namespace
void LPCreate::setExtension ()
{
DOMElement *lpeCreate =
xmlWriter->appendChild( xmlWriter->appendChild( command, "extension"),
"launch:create", launchPhaseExtension().getURI());
DOMElement *lpecd =
xmlWriter->appendChild( xmlWriter->appendChild( lpeCreate, "launch:phase"),
"launch:phase", launchPhaseExtension().getURI() );
}