mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
45 lines
1.4 KiB
C++
45 lines
1.4 KiB
C++
/*----------------------------------------------------------------------------*/
|
|
/* Copyright (c) 2016-2020 FIRST. All Rights Reserved. */
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
/* the project. */
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
#include "cscore_cpp.h"
|
|
|
|
namespace cs {
|
|
|
|
CS_Source CreateUsbCameraDev(const wpi::Twine& name, int dev,
|
|
CS_Status* status) {
|
|
*status = CS_INVALID_HANDLE;
|
|
return 0;
|
|
}
|
|
|
|
CS_Source CreateUsbCameraPath(const wpi::Twine& name, const wpi::Twine& path,
|
|
CS_Status* status) {
|
|
*status = CS_INVALID_HANDLE;
|
|
return 0;
|
|
}
|
|
|
|
void SetUsbCameraPath(CS_Source source, const wpi::Twine& path,
|
|
CS_Status* status) {
|
|
*status = CS_INVALID_HANDLE;
|
|
}
|
|
|
|
std::string GetUsbCameraPath(CS_Source source, CS_Status* status) {
|
|
*status = CS_INVALID_HANDLE;
|
|
return std::string{};
|
|
}
|
|
|
|
UsbCameraInfo GetUsbCameraInfo(CS_Source source, CS_Status* status) {
|
|
*status = CS_INVALID_HANDLE;
|
|
return UsbCameraInfo{};
|
|
}
|
|
|
|
std::vector<UsbCameraInfo> EnumerateUsbCameras(CS_Status* status) {
|
|
*status = CS_INVALID_HANDLE;
|
|
return std::vector<UsbCameraInfo>{};
|
|
}
|
|
|
|
} // namespace cs
|