mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Add shim headers for headers moved to cameraserver and frc folders
Shim headers were placed in the original location to warn users that they are deprecated and that they should use the headers in the folders instead.
This commit is contained in:
committed by
Peter Johnson
parent
d89b7dd412
commit
794403dcea
19
wpilibc/src/main/native/include/InterruptableSensorBase.h
Normal file
19
wpilibc/src/main/native/include/InterruptableSensorBase.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2018 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. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
// clang-format off
|
||||
#ifdef _MSC_VER
|
||||
#pragma message "warning: InterruptableSensorBase.h is deprecated; include frc/InterruptableSensorBase.h instead"
|
||||
#else
|
||||
#warning "InterruptableSensorBase.h is deprecated; include frc/InterruptableSensorBase.h instead"
|
||||
#endif
|
||||
|
||||
// clang-format on
|
||||
|
||||
#include "frc/InterruptableSensorBase.h"
|
||||
Reference in New Issue
Block a user