| 27 | } |
| 28 | |
| 29 | void ExportedCodec::GetDescription(XnProductionNodeDescription* pDescription) |
| 30 | { |
| 31 | strcpy(pDescription->strVendor, XN_VENDOR_OPEN_NI); |
| 32 | memcpy(pDescription->strName, &m_codecId, sizeof(m_codecId)); |
| 33 | pDescription->strName[sizeof(m_codecId)] = '\0'; |
| 34 | pDescription->Type = XN_NODE_TYPE_CODEC; |
| 35 | pDescription->Version.nMajor = XN_MAJOR_VERSION; |
| 36 | pDescription->Version.nMinor = XN_MINOR_VERSION; |
| 37 | pDescription->Version.nMaintenance = XN_MAINTENANCE_VERSION; |
| 38 | pDescription->Version.nBuild = XN_BUILD_VERSION; |
| 39 | } |
| 40 | |
| 41 | XnStatus ExportedCodec::EnumerateProductionTrees(Context& /*context*/, NodeInfoList& TreesList, xn::EnumerationErrors* /*pErrors*/) |
| 42 | { |