| 898 | } |
| 899 | |
| 900 | XnStatus RunXmlScriptImpl(XnContext* pContext, TiXmlDocument* pDoc, XnNodeInfoList* pCreatedNodes, XnEnumerationErrors* pErrors) |
| 901 | { |
| 902 | XnStatus nRetVal = XN_STATUS_OK; |
| 903 | |
| 904 | TiXmlElement* pRootElem = pDoc->RootElement(); |
| 905 | if (pRootElem != NULL) |
| 906 | { |
| 907 | nRetVal = xnLoadLicensesFromXml(pContext, pRootElem); |
| 908 | XN_IS_STATUS_OK(nRetVal); |
| 909 | |
| 910 | nRetVal = xnConfigureCreateNodes(pContext, pRootElem, pCreatedNodes, pErrors); |
| 911 | XN_IS_STATUS_OK(nRetVal); |
| 912 | } |
| 913 | |
| 914 | return (XN_STATUS_OK); |
| 915 | } |
| 916 | |
| 917 | XnXmlScriptNode::XnXmlScriptNode(xn::Context context) : m_context(context) |
| 918 | { |
no test coverage detected