| 33 | } |
| 34 | |
| 35 | XnStatus ExportedSampleDepth::EnumerateProductionTrees( xn::Context& /*context*/, xn::NodeInfoList& TreesList, xn::EnumerationErrors* /*pErrors*/ ) |
| 36 | { |
| 37 | XnStatus nRetVal = XN_STATUS_OK; |
| 38 | |
| 39 | // return one option |
| 40 | XnProductionNodeDescription desc; |
| 41 | GetDescription(&desc); |
| 42 | |
| 43 | nRetVal = TreesList.Add(desc, NULL, NULL); |
| 44 | XN_IS_STATUS_OK(nRetVal); |
| 45 | |
| 46 | return (XN_STATUS_OK); |
| 47 | } |
| 48 | |
| 49 | XnStatus ExportedSampleDepth::Create( xn::Context& /*context*/, const XnChar* /*strInstanceName*/, const XnChar* /*strCreationInfo*/, xn::NodeInfoList* /*pNeededTrees*/, const XnChar* /*strConfigurationDir*/, xn::ModuleProductionNode** ppInstance ) |
| 50 | { |
no test coverage detected