| 192 | } |
| 193 | |
| 194 | OSVR_ReturnCode osvrDeviceAsyncInit(OSVR_IN_PTR OSVR_PluginRegContext ctx, |
| 195 | OSVR_IN_STRZ const char *name, |
| 196 | OSVR_OUT_PTR OSVR_DeviceToken *device) { |
| 197 | OSVR_PLUGIN_HANDLE_NULL_CONTEXT("osvrDeviceAsyncInit", ctx); |
| 198 | OSVR_DEV_VERBOSE("In osvrDeviceAsyncInit for a device named " << name); |
| 199 | return osvrDeviceGenericInit(ctx, name, device, |
| 200 | OSVR_DeviceTokenObject::createAsyncDevice); |
| 201 | } |
| 202 | |
| 203 | OSVR_ReturnCode |
| 204 | osvrDeviceAsyncInitWithOptions(OSVR_IN_PTR OSVR_PluginRegContext, |
no test coverage detected