| 118 | } |
| 119 | |
| 120 | XnStatus MockGenerator::SetStringProperty(const XnChar* strName, const XnChar* strValue) |
| 121 | { |
| 122 | XnStatus nRetVal = XN_STATUS_OK; |
| 123 | |
| 124 | if (strcmp(strName, XN_PROP_FRAME_SYNCED_WITH) == 0) |
| 125 | { |
| 126 | nRetVal = SetFrameSyncNode(strValue); |
| 127 | XN_IS_STATUS_OK(nRetVal); |
| 128 | } |
| 129 | else |
| 130 | { |
| 131 | nRetVal = MockProductionNode::SetStringProperty(strName, strValue); |
| 132 | XN_IS_STATUS_OK(nRetVal); |
| 133 | } |
| 134 | |
| 135 | return (XN_STATUS_OK); |
| 136 | } |
| 137 | |
| 138 | XnStatus MockGenerator::SetGeneralProperty(const XnChar* strName, XnUInt32 nBufferSize, const void* pBuffer) |
| 139 | { |
no outgoing calls
no test coverage detected