From 794403dceab02a4899279f11fb5a2c279a9b55de Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Fri, 20 Jul 2018 00:04:54 -0700 Subject: [PATCH] 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. --- .../src/main/native/include/CameraServer.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/ADXL345_I2C.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/ADXL345_SPI.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/ADXL362.h | 19 +++++++++++++++++++ .../src/main/native/include/ADXRS450_Gyro.h | 19 +++++++++++++++++++ .../main/native/include/AnalogAccelerometer.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/AnalogGyro.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/AnalogInput.h | 19 +++++++++++++++++++ .../src/main/native/include/AnalogOutput.h | 19 +++++++++++++++++++ .../main/native/include/AnalogPotentiometer.h | 19 +++++++++++++++++++ .../src/main/native/include/AnalogTrigger.h | 19 +++++++++++++++++++ .../main/native/include/AnalogTriggerOutput.h | 19 +++++++++++++++++++ .../main/native/include/AnalogTriggerType.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Base.h | 19 +++++++++++++++++++ .../native/include/BuiltInAccelerometer.h | 19 +++++++++++++++++++ .../src/main/native/include/Buttons/Button.h | 19 +++++++++++++++++++ .../native/include/Buttons/ButtonScheduler.h | 19 +++++++++++++++++++ .../include/Buttons/CancelButtonScheduler.h | 19 +++++++++++++++++++ .../include/Buttons/HeldButtonScheduler.h | 19 +++++++++++++++++++ .../native/include/Buttons/InternalButton.h | 19 +++++++++++++++++++ .../native/include/Buttons/JoystickButton.h | 19 +++++++++++++++++++ .../native/include/Buttons/NetworkButton.h | 19 +++++++++++++++++++ .../include/Buttons/PressedButtonScheduler.h | 19 +++++++++++++++++++ .../include/Buttons/ReleasedButtonScheduler.h | 19 +++++++++++++++++++ .../include/Buttons/ToggleButtonScheduler.h | 19 +++++++++++++++++++ .../src/main/native/include/Buttons/Trigger.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/CAN.h | 19 +++++++++++++++++++ .../main/native/include/Commands/Command.h | 19 +++++++++++++++++++ .../native/include/Commands/CommandGroup.h | 19 +++++++++++++++++++ .../include/Commands/CommandGroupEntry.h | 19 +++++++++++++++++++ .../include/Commands/ConditionalCommand.h | 19 +++++++++++++++++++ .../native/include/Commands/InstantCommand.h | 19 +++++++++++++++++++ .../main/native/include/Commands/PIDCommand.h | 19 +++++++++++++++++++ .../native/include/Commands/PIDSubsystem.h | 19 +++++++++++++++++++ .../native/include/Commands/PrintCommand.h | 19 +++++++++++++++++++ .../main/native/include/Commands/Scheduler.h | 19 +++++++++++++++++++ .../native/include/Commands/StartCommand.h | 19 +++++++++++++++++++ .../main/native/include/Commands/Subsystem.h | 19 +++++++++++++++++++ .../native/include/Commands/TimedCommand.h | 19 +++++++++++++++++++ .../native/include/Commands/WaitCommand.h | 19 +++++++++++++++++++ .../native/include/Commands/WaitForChildren.h | 19 +++++++++++++++++++ .../include/Commands/WaitUntilCommand.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Compressor.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Controller.h | 19 +++++++++++++++++++ .../src/main/native/include/ControllerPower.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Counter.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/CounterBase.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/DMC60.h | 19 +++++++++++++++++++ .../main/native/include/DigitalGlitchFilter.h | 19 +++++++++++++++++++ .../src/main/native/include/DigitalInput.h | 19 +++++++++++++++++++ .../src/main/native/include/DigitalOutput.h | 19 +++++++++++++++++++ .../src/main/native/include/DigitalSource.h | 19 +++++++++++++++++++ .../src/main/native/include/DoubleSolenoid.h | 19 +++++++++++++++++++ .../native/include/Drive/DifferentialDrive.h | 19 +++++++++++++++++++ .../main/native/include/Drive/KilloughDrive.h | 19 +++++++++++++++++++ .../main/native/include/Drive/MecanumDrive.h | 19 +++++++++++++++++++ .../native/include/Drive/RobotDriveBase.h | 19 +++++++++++++++++++ .../src/main/native/include/Drive/Vector2d.h | 19 +++++++++++++++++++ .../src/main/native/include/DriverStation.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Encoder.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Error.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/ErrorBase.h | 19 +++++++++++++++++++ .../src/main/native/include/Filters/Filter.h | 19 +++++++++++++++++++ .../include/Filters/LinearDigitalFilter.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/GamepadBase.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/GearTooth.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/GenericHID.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/GyroBase.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/I2C.h | 19 +++++++++++++++++++ .../native/include/InterruptableSensorBase.h | 19 +++++++++++++++++++ .../src/main/native/include/IterativeRobot.h | 19 +++++++++++++++++++ .../main/native/include/IterativeRobotBase.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Jaguar.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Joystick.h | 19 +++++++++++++++++++ .../src/main/native/include/JoystickBase.h | 19 +++++++++++++++++++ .../native/include/LiveWindow/LiveWindow.h | 19 +++++++++++++++++++ .../include/LiveWindow/LiveWindowSendable.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/MotorSafety.h | 19 +++++++++++++++++++ .../main/native/include/MotorSafetyHelper.h | 19 +++++++++++++++++++ .../src/main/native/include/NidecBrushless.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Notifier.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/PIDBase.h | 19 +++++++++++++++++++ .../src/main/native/include/PIDController.h | 19 +++++++++++++++++++ .../src/main/native/include/PIDInterface.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/PIDOutput.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/PIDSource.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/PWM.h | 19 +++++++++++++++++++ .../main/native/include/PWMSpeedController.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/PWMTalonSRX.h | 19 +++++++++++++++++++ .../src/main/native/include/PWMVictorSPX.h | 19 +++++++++++++++++++ .../native/include/PowerDistributionPanel.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Preferences.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Relay.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Resource.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/RobotBase.h | 19 +++++++++++++++++++ .../src/main/native/include/RobotController.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/RobotDrive.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/RobotState.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/SD540.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/SPI.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/SafePWM.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/SampleRobot.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/SensorUtil.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/SerialPort.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Servo.h | 19 +++++++++++++++++++ .../include/SmartDashboard/NamedSendable.h | 19 +++++++++++++++++++ .../native/include/SmartDashboard/Sendable.h | 19 +++++++++++++++++++ .../include/SmartDashboard/SendableBase.h | 19 +++++++++++++++++++ .../include/SmartDashboard/SendableBuilder.h | 19 +++++++++++++++++++ .../SmartDashboard/SendableBuilderImpl.h | 19 +++++++++++++++++++ .../include/SmartDashboard/SendableChooser.h | 19 +++++++++++++++++++ .../SmartDashboard/SendableChooser.inc | 19 +++++++++++++++++++ .../SmartDashboard/SendableChooserBase.h | 19 +++++++++++++++++++ .../include/SmartDashboard/SmartDashboard.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Solenoid.h | 19 +++++++++++++++++++ .../src/main/native/include/SolenoidBase.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Spark.h | 19 +++++++++++++++++++ .../src/main/native/include/SpeedController.h | 19 +++++++++++++++++++ .../native/include/SpeedControllerGroup.h | 19 +++++++++++++++++++ .../native/include/SpeedControllerGroup.inc | 19 +++++++++++++++++++ .../src/main/native/include/SynchronousPID.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Talon.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Threads.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/TimedRobot.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Timer.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Ultrasonic.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Utility.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Victor.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/VictorSP.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/WPIErrors.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/WPILib.h | 19 +++++++++++++++++++ wpilibc/src/main/native/include/Watchdog.h | 19 +++++++++++++++++++ .../src/main/native/include/XboxController.h | 19 +++++++++++++++++++ .../src/main/native/include/circular_buffer.h | 19 +++++++++++++++++++ .../main/native/include/circular_buffer.inc | 19 +++++++++++++++++++ .../native/include/interfaces/Accelerometer.h | 19 +++++++++++++++++++ .../src/main/native/include/interfaces/Gyro.h | 19 +++++++++++++++++++ .../native/include/interfaces/Potentiometer.h | 19 +++++++++++++++++++ 138 files changed, 2622 insertions(+) create mode 100644 cameraserver/src/main/native/include/CameraServer.h create mode 100644 wpilibc/src/main/native/include/ADXL345_I2C.h create mode 100644 wpilibc/src/main/native/include/ADXL345_SPI.h create mode 100644 wpilibc/src/main/native/include/ADXL362.h create mode 100644 wpilibc/src/main/native/include/ADXRS450_Gyro.h create mode 100644 wpilibc/src/main/native/include/AnalogAccelerometer.h create mode 100644 wpilibc/src/main/native/include/AnalogGyro.h create mode 100644 wpilibc/src/main/native/include/AnalogInput.h create mode 100644 wpilibc/src/main/native/include/AnalogOutput.h create mode 100644 wpilibc/src/main/native/include/AnalogPotentiometer.h create mode 100644 wpilibc/src/main/native/include/AnalogTrigger.h create mode 100644 wpilibc/src/main/native/include/AnalogTriggerOutput.h create mode 100644 wpilibc/src/main/native/include/AnalogTriggerType.h create mode 100644 wpilibc/src/main/native/include/Base.h create mode 100644 wpilibc/src/main/native/include/BuiltInAccelerometer.h create mode 100644 wpilibc/src/main/native/include/Buttons/Button.h create mode 100644 wpilibc/src/main/native/include/Buttons/ButtonScheduler.h create mode 100644 wpilibc/src/main/native/include/Buttons/CancelButtonScheduler.h create mode 100644 wpilibc/src/main/native/include/Buttons/HeldButtonScheduler.h create mode 100644 wpilibc/src/main/native/include/Buttons/InternalButton.h create mode 100644 wpilibc/src/main/native/include/Buttons/JoystickButton.h create mode 100644 wpilibc/src/main/native/include/Buttons/NetworkButton.h create mode 100644 wpilibc/src/main/native/include/Buttons/PressedButtonScheduler.h create mode 100644 wpilibc/src/main/native/include/Buttons/ReleasedButtonScheduler.h create mode 100644 wpilibc/src/main/native/include/Buttons/ToggleButtonScheduler.h create mode 100644 wpilibc/src/main/native/include/Buttons/Trigger.h create mode 100644 wpilibc/src/main/native/include/CAN.h create mode 100644 wpilibc/src/main/native/include/Commands/Command.h create mode 100644 wpilibc/src/main/native/include/Commands/CommandGroup.h create mode 100644 wpilibc/src/main/native/include/Commands/CommandGroupEntry.h create mode 100644 wpilibc/src/main/native/include/Commands/ConditionalCommand.h create mode 100644 wpilibc/src/main/native/include/Commands/InstantCommand.h create mode 100644 wpilibc/src/main/native/include/Commands/PIDCommand.h create mode 100644 wpilibc/src/main/native/include/Commands/PIDSubsystem.h create mode 100644 wpilibc/src/main/native/include/Commands/PrintCommand.h create mode 100644 wpilibc/src/main/native/include/Commands/Scheduler.h create mode 100644 wpilibc/src/main/native/include/Commands/StartCommand.h create mode 100644 wpilibc/src/main/native/include/Commands/Subsystem.h create mode 100644 wpilibc/src/main/native/include/Commands/TimedCommand.h create mode 100644 wpilibc/src/main/native/include/Commands/WaitCommand.h create mode 100644 wpilibc/src/main/native/include/Commands/WaitForChildren.h create mode 100644 wpilibc/src/main/native/include/Commands/WaitUntilCommand.h create mode 100644 wpilibc/src/main/native/include/Compressor.h create mode 100644 wpilibc/src/main/native/include/Controller.h create mode 100644 wpilibc/src/main/native/include/ControllerPower.h create mode 100644 wpilibc/src/main/native/include/Counter.h create mode 100644 wpilibc/src/main/native/include/CounterBase.h create mode 100644 wpilibc/src/main/native/include/DMC60.h create mode 100644 wpilibc/src/main/native/include/DigitalGlitchFilter.h create mode 100644 wpilibc/src/main/native/include/DigitalInput.h create mode 100644 wpilibc/src/main/native/include/DigitalOutput.h create mode 100644 wpilibc/src/main/native/include/DigitalSource.h create mode 100644 wpilibc/src/main/native/include/DoubleSolenoid.h create mode 100644 wpilibc/src/main/native/include/Drive/DifferentialDrive.h create mode 100644 wpilibc/src/main/native/include/Drive/KilloughDrive.h create mode 100644 wpilibc/src/main/native/include/Drive/MecanumDrive.h create mode 100644 wpilibc/src/main/native/include/Drive/RobotDriveBase.h create mode 100644 wpilibc/src/main/native/include/Drive/Vector2d.h create mode 100644 wpilibc/src/main/native/include/DriverStation.h create mode 100644 wpilibc/src/main/native/include/Encoder.h create mode 100644 wpilibc/src/main/native/include/Error.h create mode 100644 wpilibc/src/main/native/include/ErrorBase.h create mode 100644 wpilibc/src/main/native/include/Filters/Filter.h create mode 100644 wpilibc/src/main/native/include/Filters/LinearDigitalFilter.h create mode 100644 wpilibc/src/main/native/include/GamepadBase.h create mode 100644 wpilibc/src/main/native/include/GearTooth.h create mode 100644 wpilibc/src/main/native/include/GenericHID.h create mode 100644 wpilibc/src/main/native/include/GyroBase.h create mode 100644 wpilibc/src/main/native/include/I2C.h create mode 100644 wpilibc/src/main/native/include/InterruptableSensorBase.h create mode 100644 wpilibc/src/main/native/include/IterativeRobot.h create mode 100644 wpilibc/src/main/native/include/IterativeRobotBase.h create mode 100644 wpilibc/src/main/native/include/Jaguar.h create mode 100644 wpilibc/src/main/native/include/Joystick.h create mode 100644 wpilibc/src/main/native/include/JoystickBase.h create mode 100644 wpilibc/src/main/native/include/LiveWindow/LiveWindow.h create mode 100644 wpilibc/src/main/native/include/LiveWindow/LiveWindowSendable.h create mode 100644 wpilibc/src/main/native/include/MotorSafety.h create mode 100644 wpilibc/src/main/native/include/MotorSafetyHelper.h create mode 100644 wpilibc/src/main/native/include/NidecBrushless.h create mode 100644 wpilibc/src/main/native/include/Notifier.h create mode 100644 wpilibc/src/main/native/include/PIDBase.h create mode 100644 wpilibc/src/main/native/include/PIDController.h create mode 100644 wpilibc/src/main/native/include/PIDInterface.h create mode 100644 wpilibc/src/main/native/include/PIDOutput.h create mode 100644 wpilibc/src/main/native/include/PIDSource.h create mode 100644 wpilibc/src/main/native/include/PWM.h create mode 100644 wpilibc/src/main/native/include/PWMSpeedController.h create mode 100644 wpilibc/src/main/native/include/PWMTalonSRX.h create mode 100644 wpilibc/src/main/native/include/PWMVictorSPX.h create mode 100644 wpilibc/src/main/native/include/PowerDistributionPanel.h create mode 100644 wpilibc/src/main/native/include/Preferences.h create mode 100644 wpilibc/src/main/native/include/Relay.h create mode 100644 wpilibc/src/main/native/include/Resource.h create mode 100644 wpilibc/src/main/native/include/RobotBase.h create mode 100644 wpilibc/src/main/native/include/RobotController.h create mode 100644 wpilibc/src/main/native/include/RobotDrive.h create mode 100644 wpilibc/src/main/native/include/RobotState.h create mode 100644 wpilibc/src/main/native/include/SD540.h create mode 100644 wpilibc/src/main/native/include/SPI.h create mode 100644 wpilibc/src/main/native/include/SafePWM.h create mode 100644 wpilibc/src/main/native/include/SampleRobot.h create mode 100644 wpilibc/src/main/native/include/SensorUtil.h create mode 100644 wpilibc/src/main/native/include/SerialPort.h create mode 100644 wpilibc/src/main/native/include/Servo.h create mode 100644 wpilibc/src/main/native/include/SmartDashboard/NamedSendable.h create mode 100644 wpilibc/src/main/native/include/SmartDashboard/Sendable.h create mode 100644 wpilibc/src/main/native/include/SmartDashboard/SendableBase.h create mode 100644 wpilibc/src/main/native/include/SmartDashboard/SendableBuilder.h create mode 100644 wpilibc/src/main/native/include/SmartDashboard/SendableBuilderImpl.h create mode 100644 wpilibc/src/main/native/include/SmartDashboard/SendableChooser.h create mode 100644 wpilibc/src/main/native/include/SmartDashboard/SendableChooser.inc create mode 100644 wpilibc/src/main/native/include/SmartDashboard/SendableChooserBase.h create mode 100644 wpilibc/src/main/native/include/SmartDashboard/SmartDashboard.h create mode 100644 wpilibc/src/main/native/include/Solenoid.h create mode 100644 wpilibc/src/main/native/include/SolenoidBase.h create mode 100644 wpilibc/src/main/native/include/Spark.h create mode 100644 wpilibc/src/main/native/include/SpeedController.h create mode 100644 wpilibc/src/main/native/include/SpeedControllerGroup.h create mode 100644 wpilibc/src/main/native/include/SpeedControllerGroup.inc create mode 100644 wpilibc/src/main/native/include/SynchronousPID.h create mode 100644 wpilibc/src/main/native/include/Talon.h create mode 100644 wpilibc/src/main/native/include/Threads.h create mode 100644 wpilibc/src/main/native/include/TimedRobot.h create mode 100644 wpilibc/src/main/native/include/Timer.h create mode 100644 wpilibc/src/main/native/include/Ultrasonic.h create mode 100644 wpilibc/src/main/native/include/Utility.h create mode 100644 wpilibc/src/main/native/include/Victor.h create mode 100644 wpilibc/src/main/native/include/VictorSP.h create mode 100644 wpilibc/src/main/native/include/WPIErrors.h create mode 100644 wpilibc/src/main/native/include/WPILib.h create mode 100644 wpilibc/src/main/native/include/Watchdog.h create mode 100644 wpilibc/src/main/native/include/XboxController.h create mode 100644 wpilibc/src/main/native/include/circular_buffer.h create mode 100644 wpilibc/src/main/native/include/circular_buffer.inc create mode 100644 wpilibc/src/main/native/include/interfaces/Accelerometer.h create mode 100644 wpilibc/src/main/native/include/interfaces/Gyro.h create mode 100644 wpilibc/src/main/native/include/interfaces/Potentiometer.h diff --git a/cameraserver/src/main/native/include/CameraServer.h b/cameraserver/src/main/native/include/CameraServer.h new file mode 100644 index 0000000000..2fcc0f2676 --- /dev/null +++ b/cameraserver/src/main/native/include/CameraServer.h @@ -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: CameraServer.h is deprecated; include cameraserver/CameraServer.h instead" +#else +#warning "CameraServer.h is deprecated; include cameraserver/CameraServer.h instead" +#endif + +// clang-format on + +#include "cameraserver/CameraServer.h" diff --git a/wpilibc/src/main/native/include/ADXL345_I2C.h b/wpilibc/src/main/native/include/ADXL345_I2C.h new file mode 100644 index 0000000000..a155d6c05e --- /dev/null +++ b/wpilibc/src/main/native/include/ADXL345_I2C.h @@ -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: ADXL345_I2C.h is deprecated; include frc/ADXL345_I2C.h instead" +#else +#warning "ADXL345_I2C.h is deprecated; include frc/ADXL345_I2C.h instead" +#endif + +// clang-format on + +#include "frc/ADXL345_I2C.h" diff --git a/wpilibc/src/main/native/include/ADXL345_SPI.h b/wpilibc/src/main/native/include/ADXL345_SPI.h new file mode 100644 index 0000000000..490594cc16 --- /dev/null +++ b/wpilibc/src/main/native/include/ADXL345_SPI.h @@ -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: ADXL345_SPI.h is deprecated; include frc/ADXL345_SPI.h instead" +#else +#warning "ADXL345_SPI.h is deprecated; include frc/ADXL345_SPI.h instead" +#endif + +// clang-format on + +#include "frc/ADXL345_SPI.h" diff --git a/wpilibc/src/main/native/include/ADXL362.h b/wpilibc/src/main/native/include/ADXL362.h new file mode 100644 index 0000000000..238ee10757 --- /dev/null +++ b/wpilibc/src/main/native/include/ADXL362.h @@ -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: ADXL362.h is deprecated; include frc/ADXL362.h instead" +#else +#warning "ADXL362.h is deprecated; include frc/ADXL362.h instead" +#endif + +// clang-format on + +#include "frc/ADXL362.h" diff --git a/wpilibc/src/main/native/include/ADXRS450_Gyro.h b/wpilibc/src/main/native/include/ADXRS450_Gyro.h new file mode 100644 index 0000000000..46b337f163 --- /dev/null +++ b/wpilibc/src/main/native/include/ADXRS450_Gyro.h @@ -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: ADXRS450_Gyro.h is deprecated; include frc/ADXRS450_Gyro.h instead" +#else +#warning "ADXRS450_Gyro.h is deprecated; include frc/ADXRS450_Gyro.h instead" +#endif + +// clang-format on + +#include "frc/ADXRS450_Gyro.h" diff --git a/wpilibc/src/main/native/include/AnalogAccelerometer.h b/wpilibc/src/main/native/include/AnalogAccelerometer.h new file mode 100644 index 0000000000..926005e609 --- /dev/null +++ b/wpilibc/src/main/native/include/AnalogAccelerometer.h @@ -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: AnalogAccelerometer.h is deprecated; include frc/AnalogAccelerometer.h instead" +#else +#warning "AnalogAccelerometer.h is deprecated; include frc/AnalogAccelerometer.h instead" +#endif + +// clang-format on + +#include "frc/AnalogAccelerometer.h" diff --git a/wpilibc/src/main/native/include/AnalogGyro.h b/wpilibc/src/main/native/include/AnalogGyro.h new file mode 100644 index 0000000000..287bf46d35 --- /dev/null +++ b/wpilibc/src/main/native/include/AnalogGyro.h @@ -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: AnalogGyro.h is deprecated; include frc/AnalogGyro.h instead" +#else +#warning "AnalogGyro.h is deprecated; include frc/AnalogGyro.h instead" +#endif + +// clang-format on + +#include "frc/AnalogGyro.h" diff --git a/wpilibc/src/main/native/include/AnalogInput.h b/wpilibc/src/main/native/include/AnalogInput.h new file mode 100644 index 0000000000..64bacdfb99 --- /dev/null +++ b/wpilibc/src/main/native/include/AnalogInput.h @@ -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: AnalogInput.h is deprecated; include frc/AnalogInput.h instead" +#else +#warning "AnalogInput.h is deprecated; include frc/AnalogInput.h instead" +#endif + +// clang-format on + +#include "frc/AnalogInput.h" diff --git a/wpilibc/src/main/native/include/AnalogOutput.h b/wpilibc/src/main/native/include/AnalogOutput.h new file mode 100644 index 0000000000..b08d3eedcc --- /dev/null +++ b/wpilibc/src/main/native/include/AnalogOutput.h @@ -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: AnalogOutput.h is deprecated; include frc/AnalogOutput.h instead" +#else +#warning "AnalogOutput.h is deprecated; include frc/AnalogOutput.h instead" +#endif + +// clang-format on + +#include "frc/AnalogOutput.h" diff --git a/wpilibc/src/main/native/include/AnalogPotentiometer.h b/wpilibc/src/main/native/include/AnalogPotentiometer.h new file mode 100644 index 0000000000..5b01b97c35 --- /dev/null +++ b/wpilibc/src/main/native/include/AnalogPotentiometer.h @@ -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: AnalogPotentiometer.h is deprecated; include frc/AnalogPotentiometer.h instead" +#else +#warning "AnalogPotentiometer.h is deprecated; include frc/AnalogPotentiometer.h instead" +#endif + +// clang-format on + +#include "frc/AnalogPotentiometer.h" diff --git a/wpilibc/src/main/native/include/AnalogTrigger.h b/wpilibc/src/main/native/include/AnalogTrigger.h new file mode 100644 index 0000000000..e88547d0c5 --- /dev/null +++ b/wpilibc/src/main/native/include/AnalogTrigger.h @@ -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: AnalogTrigger.h is deprecated; include frc/AnalogTrigger.h instead" +#else +#warning "AnalogTrigger.h is deprecated; include frc/AnalogTrigger.h instead" +#endif + +// clang-format on + +#include "frc/AnalogTrigger.h" diff --git a/wpilibc/src/main/native/include/AnalogTriggerOutput.h b/wpilibc/src/main/native/include/AnalogTriggerOutput.h new file mode 100644 index 0000000000..d8754a00e4 --- /dev/null +++ b/wpilibc/src/main/native/include/AnalogTriggerOutput.h @@ -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: AnalogTriggerOutput.h is deprecated; include frc/AnalogTriggerOutput.h instead" +#else +#warning "AnalogTriggerOutput.h is deprecated; include frc/AnalogTriggerOutput.h instead" +#endif + +// clang-format on + +#include "frc/AnalogTriggerOutput.h" diff --git a/wpilibc/src/main/native/include/AnalogTriggerType.h b/wpilibc/src/main/native/include/AnalogTriggerType.h new file mode 100644 index 0000000000..6f55772be9 --- /dev/null +++ b/wpilibc/src/main/native/include/AnalogTriggerType.h @@ -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: AnalogTriggerType.h is deprecated; include frc/AnalogTriggerType.h instead" +#else +#warning "AnalogTriggerType.h is deprecated; include frc/AnalogTriggerType.h instead" +#endif + +// clang-format on + +#include "frc/AnalogTriggerType.h" diff --git a/wpilibc/src/main/native/include/Base.h b/wpilibc/src/main/native/include/Base.h new file mode 100644 index 0000000000..c6fc91aadf --- /dev/null +++ b/wpilibc/src/main/native/include/Base.h @@ -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: Base.h is deprecated; include frc/Base.h instead" +#else +#warning "Base.h is deprecated; include frc/Base.h instead" +#endif + +// clang-format on + +#include "frc/Base.h" diff --git a/wpilibc/src/main/native/include/BuiltInAccelerometer.h b/wpilibc/src/main/native/include/BuiltInAccelerometer.h new file mode 100644 index 0000000000..e394037e47 --- /dev/null +++ b/wpilibc/src/main/native/include/BuiltInAccelerometer.h @@ -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: BuiltInAccelerometer.h is deprecated; include frc/BuiltInAccelerometer.h instead" +#else +#warning "BuiltInAccelerometer.h is deprecated; include frc/BuiltInAccelerometer.h instead" +#endif + +// clang-format on + +#include "frc/BuiltInAccelerometer.h" diff --git a/wpilibc/src/main/native/include/Buttons/Button.h b/wpilibc/src/main/native/include/Buttons/Button.h new file mode 100644 index 0000000000..f71bee2282 --- /dev/null +++ b/wpilibc/src/main/native/include/Buttons/Button.h @@ -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: Buttons/Button.h is deprecated; include frc/buttons/Button.h instead" +#else +#warning "Buttons/Button.h is deprecated; include frc/buttons/Button.h instead" +#endif + +// clang-format on + +#include "frc/buttons/Button.h" diff --git a/wpilibc/src/main/native/include/Buttons/ButtonScheduler.h b/wpilibc/src/main/native/include/Buttons/ButtonScheduler.h new file mode 100644 index 0000000000..48392c7ed8 --- /dev/null +++ b/wpilibc/src/main/native/include/Buttons/ButtonScheduler.h @@ -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: buttons/ButtonScheduler.h is deprecated; include frc/buttons/ButtonScheduler.h instead" +#else +#warning "buttons/ButtonScheduler.h is deprecated; include frc/buttons/ButtonScheduler.h instead" +#endif + +// clang-format on + +#include "frc/buttons/ButtonScheduler.h" diff --git a/wpilibc/src/main/native/include/Buttons/CancelButtonScheduler.h b/wpilibc/src/main/native/include/Buttons/CancelButtonScheduler.h new file mode 100644 index 0000000000..201d02459a --- /dev/null +++ b/wpilibc/src/main/native/include/Buttons/CancelButtonScheduler.h @@ -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: buttons/CancelButtonScheduler.h is deprecated; include frc/buttons/CancelButtonScheduler.h instead" +#else +#warning "buttons/CancelButtonScheduler.h is deprecated; include frc/buttons/CancelButtonScheduler.h instead" +#endif + +// clang-format on + +#include "frc/buttons/CancelButtonScheduler.h" diff --git a/wpilibc/src/main/native/include/Buttons/HeldButtonScheduler.h b/wpilibc/src/main/native/include/Buttons/HeldButtonScheduler.h new file mode 100644 index 0000000000..48868326a2 --- /dev/null +++ b/wpilibc/src/main/native/include/Buttons/HeldButtonScheduler.h @@ -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: buttons/HeldButtonScheduler.h is deprecated; include frc/buttons/HeldButtonScheduler.h instead" +#else +#warning "buttons/HeldButtonScheduler.h is deprecated; include frc/buttons/HeldButtonScheduler.h instead" +#endif + +// clang-format on + +#include "frc/buttons/HeldButtonScheduler.h" diff --git a/wpilibc/src/main/native/include/Buttons/InternalButton.h b/wpilibc/src/main/native/include/Buttons/InternalButton.h new file mode 100644 index 0000000000..4cde15a8ff --- /dev/null +++ b/wpilibc/src/main/native/include/Buttons/InternalButton.h @@ -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: buttons/InternalButton.h is deprecated; include frc/buttons/InternalButton.h instead" +#else +#warning "buttons/InternalButton.h is deprecated; include frc/buttons/InternalButton.h instead" +#endif + +// clang-format on + +#include "frc/buttons/InternalButton.h" diff --git a/wpilibc/src/main/native/include/Buttons/JoystickButton.h b/wpilibc/src/main/native/include/Buttons/JoystickButton.h new file mode 100644 index 0000000000..6ad611e097 --- /dev/null +++ b/wpilibc/src/main/native/include/Buttons/JoystickButton.h @@ -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: buttons/JoystickButton.h is deprecated; include frc/buttons/JoystickButton.h instead" +#else +#warning "buttons/JoystickButton.h is deprecated; include frc/buttons/JoystickButton.h instead" +#endif + +// clang-format on + +#include "frc/buttons/JoystickButton.h" diff --git a/wpilibc/src/main/native/include/Buttons/NetworkButton.h b/wpilibc/src/main/native/include/Buttons/NetworkButton.h new file mode 100644 index 0000000000..8d23810ab8 --- /dev/null +++ b/wpilibc/src/main/native/include/Buttons/NetworkButton.h @@ -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: buttons/NetworkButton.h is deprecated; include frc/buttons/NetworkButton.h instead" +#else +#warning "buttons/NetworkButton.h is deprecated; include frc/buttons/NetworkButton.h instead" +#endif + +// clang-format on + +#include "frc/buttons/NetworkButton.h" diff --git a/wpilibc/src/main/native/include/Buttons/PressedButtonScheduler.h b/wpilibc/src/main/native/include/Buttons/PressedButtonScheduler.h new file mode 100644 index 0000000000..323d9e2652 --- /dev/null +++ b/wpilibc/src/main/native/include/Buttons/PressedButtonScheduler.h @@ -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: buttons/PressedButtonScheduler.h is deprecated; include frc/buttons/PressedButtonScheduler.h instead" +#else +#warning "buttons/PressedButtonScheduler.h is deprecated; include frc/buttons/PressedButtonScheduler.h instead" +#endif + +// clang-format on + +#include "frc/buttons/PressedButtonScheduler.h" diff --git a/wpilibc/src/main/native/include/Buttons/ReleasedButtonScheduler.h b/wpilibc/src/main/native/include/Buttons/ReleasedButtonScheduler.h new file mode 100644 index 0000000000..88ef25c9b0 --- /dev/null +++ b/wpilibc/src/main/native/include/Buttons/ReleasedButtonScheduler.h @@ -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: buttons/ReleasedButtonScheduler.h is deprecated; include frc/buttons/ReleasedButtonScheduler.h instead" +#else +#warning "buttons/ReleasedButtonScheduler.h is deprecated; include frc/buttons/ReleasedButtonScheduler.h instead" +#endif + +// clang-format on + +#include "frc/buttons/ReleasedButtonScheduler.h" diff --git a/wpilibc/src/main/native/include/Buttons/ToggleButtonScheduler.h b/wpilibc/src/main/native/include/Buttons/ToggleButtonScheduler.h new file mode 100644 index 0000000000..7848f9186a --- /dev/null +++ b/wpilibc/src/main/native/include/Buttons/ToggleButtonScheduler.h @@ -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: buttons/ToggleButtonScheduler.h is deprecated; include frc/buttons/ToggleButtonScheduler.h instead" +#else +#warning "buttons/ToggleButtonScheduler.h is deprecated; include frc/buttons/ToggleButtonScheduler.h instead" +#endif + +// clang-format on + +#include "frc/buttons/ToggleButtonScheduler.h" diff --git a/wpilibc/src/main/native/include/Buttons/Trigger.h b/wpilibc/src/main/native/include/Buttons/Trigger.h new file mode 100644 index 0000000000..7fb88891aa --- /dev/null +++ b/wpilibc/src/main/native/include/Buttons/Trigger.h @@ -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: buttons/Trigger.h is deprecated; include frc/buttons/Trigger.h instead" +#else +#warning "buttons/Trigger.h is deprecated; include frc/buttons/Trigger.h instead" +#endif + +// clang-format on + +#include "frc/buttons/Trigger.h" diff --git a/wpilibc/src/main/native/include/CAN.h b/wpilibc/src/main/native/include/CAN.h new file mode 100644 index 0000000000..28d49b8ca0 --- /dev/null +++ b/wpilibc/src/main/native/include/CAN.h @@ -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: CAN.h is deprecated; include frc/CAN.h instead" +#else +#warning "CAN.h is deprecated; include frc/CAN.h instead" +#endif + +// clang-format on + +#include "frc/CAN.h" diff --git a/wpilibc/src/main/native/include/Commands/Command.h b/wpilibc/src/main/native/include/Commands/Command.h new file mode 100644 index 0000000000..f170ced1d3 --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/Command.h @@ -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: Commands/Command.h is deprecated; include frc/commands/Command.h instead" +#else +#warning "Commands/Command.h is deprecated; include frc/commands/Command.h instead" +#endif + +// clang-format on + +#include "frc/commands/Command.h" diff --git a/wpilibc/src/main/native/include/Commands/CommandGroup.h b/wpilibc/src/main/native/include/Commands/CommandGroup.h new file mode 100644 index 0000000000..0e124f2c5e --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/CommandGroup.h @@ -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: Commands/CommandGroup.h is deprecated; include frc/commands/CommandGroup.h instead" +#else +#warning "Commands/CommandGroup.h is deprecated; include frc/commands/CommandGroup.h instead" +#endif + +// clang-format on + +#include "frc/commands/CommandGroup.h" diff --git a/wpilibc/src/main/native/include/Commands/CommandGroupEntry.h b/wpilibc/src/main/native/include/Commands/CommandGroupEntry.h new file mode 100644 index 0000000000..1f5ee677f7 --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/CommandGroupEntry.h @@ -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: Commands/CommandGroupEntry.h is deprecated; include frc/commands/CommandGroupEntry.h instead" +#else +#warning "Commands/CommandGroupEntry.h is deprecated; include frc/commands/CommandGroupEntry.h instead" +#endif + +// clang-format on + +#include "frc/commands/CommandGroupEntry.h" diff --git a/wpilibc/src/main/native/include/Commands/ConditionalCommand.h b/wpilibc/src/main/native/include/Commands/ConditionalCommand.h new file mode 100644 index 0000000000..a0d3df8ced --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/ConditionalCommand.h @@ -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: Commands/ConditionalCommand.h is deprecated; include frc/commands/ConditionalCommand.h instead" +#else +#warning "Commands/ConditionalCommand.h is deprecated; include frc/commands/ConditionalCommand.h instead" +#endif + +// clang-format on + +#include "frc/commands/ConditionalCommand.h" diff --git a/wpilibc/src/main/native/include/Commands/InstantCommand.h b/wpilibc/src/main/native/include/Commands/InstantCommand.h new file mode 100644 index 0000000000..c097c1a696 --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/InstantCommand.h @@ -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: Commands/InstantCommand.h is deprecated; include frc/commands/InstantCommand.h instead" +#else +#warning "Commands/InstantCommand.h is deprecated; include frc/commands/InstantCommand.h instead" +#endif + +// clang-format on + +#include "frc/commands/InstantCommand.h" diff --git a/wpilibc/src/main/native/include/Commands/PIDCommand.h b/wpilibc/src/main/native/include/Commands/PIDCommand.h new file mode 100644 index 0000000000..462e80778e --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/PIDCommand.h @@ -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: Commands/PIDCommand.h is deprecated; include frc/commands/PIDCommand.h instead" +#else +#warning "Commands/PIDCommand.h is deprecated; include frc/commands/PIDCommand.h instead" +#endif + +// clang-format on + +#include "frc/commands/PIDCommand.h" diff --git a/wpilibc/src/main/native/include/Commands/PIDSubsystem.h b/wpilibc/src/main/native/include/Commands/PIDSubsystem.h new file mode 100644 index 0000000000..d4bc1ee1f0 --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/PIDSubsystem.h @@ -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: Commands/PIDSubsystem.h is deprecated; include frc/commands/PIDSubsystem.h instead" +#else +#warning "Commands/PIDSubsystem.h is deprecated; include frc/commands/PIDSubsystem.h instead" +#endif + +// clang-format on + +#include "frc/commands/PIDSubsystem.h" diff --git a/wpilibc/src/main/native/include/Commands/PrintCommand.h b/wpilibc/src/main/native/include/Commands/PrintCommand.h new file mode 100644 index 0000000000..801a5397b7 --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/PrintCommand.h @@ -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: Commands/PrintCommand.h is deprecated; include frc/commands/PrintCommand.h instead" +#else +#warning "Commands/PrintCommand.h is deprecated; include frc/commands/PrintCommand.h instead" +#endif + +// clang-format on + +#include "frc/commands/PrintCommand.h" diff --git a/wpilibc/src/main/native/include/Commands/Scheduler.h b/wpilibc/src/main/native/include/Commands/Scheduler.h new file mode 100644 index 0000000000..df7591c85c --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/Scheduler.h @@ -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: Commands/Scheduler.h is deprecated; include frc/commands/Scheduler.h instead" +#else +#warning "Commands/Scheduler.h is deprecated; include frc/commands/Scheduler.h instead" +#endif + +// clang-format on + +#include "frc/commands/Scheduler.h" diff --git a/wpilibc/src/main/native/include/Commands/StartCommand.h b/wpilibc/src/main/native/include/Commands/StartCommand.h new file mode 100644 index 0000000000..7ae1603aa3 --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/StartCommand.h @@ -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: Commands/StartCommand.h is deprecated; include frc/commands/StartCommand.h instead" +#else +#warning "Commands/StartCommand.h is deprecated; include frc/commands/StartCommand.h instead" +#endif + +// clang-format on + +#include "frc/commands/StartCommand.h" diff --git a/wpilibc/src/main/native/include/Commands/Subsystem.h b/wpilibc/src/main/native/include/Commands/Subsystem.h new file mode 100644 index 0000000000..ffd069758c --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/Subsystem.h @@ -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: Commands/Subsystem.h is deprecated; include frc/commands/Subsystem.h instead" +#else +#warning "Commands/Subsystem.h is deprecated; include frc/commands/Subsystem.h instead" +#endif + +// clang-format on + +#include "frc/commands/Subsystem.h" diff --git a/wpilibc/src/main/native/include/Commands/TimedCommand.h b/wpilibc/src/main/native/include/Commands/TimedCommand.h new file mode 100644 index 0000000000..848f4b6d89 --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/TimedCommand.h @@ -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: Commands/TimedCommand.h is deprecated; include frc/commands/TimedCommand.h instead" +#else +#warning "Commands/TimedCommand.h is deprecated; include frc/commands/TimedCommand.h instead" +#endif + +// clang-format on + +#include "frc/commands/TimedCommand.h" diff --git a/wpilibc/src/main/native/include/Commands/WaitCommand.h b/wpilibc/src/main/native/include/Commands/WaitCommand.h new file mode 100644 index 0000000000..1901fbad93 --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/WaitCommand.h @@ -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: Commands/WaitCommand.h is deprecated; include frc/commands/WaitCommand.h instead" +#else +#warning "Commands/WaitCommand.h is deprecated; include frc/commands/WaitCommand.h instead" +#endif + +// clang-format on + +#include "frc/commands/WaitCommand.h" diff --git a/wpilibc/src/main/native/include/Commands/WaitForChildren.h b/wpilibc/src/main/native/include/Commands/WaitForChildren.h new file mode 100644 index 0000000000..178c8354f6 --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/WaitForChildren.h @@ -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: Commands/WaitForChildren.h is deprecated; include frc/commands/WaitForChildren.h instead" +#else +#warning "Commands/WaitForChildren.h is deprecated; include frc/commands/WaitForChildren.h instead" +#endif + +// clang-format on + +#include "frc/commands/WaitForChildren.h" diff --git a/wpilibc/src/main/native/include/Commands/WaitUntilCommand.h b/wpilibc/src/main/native/include/Commands/WaitUntilCommand.h new file mode 100644 index 0000000000..b338d5f064 --- /dev/null +++ b/wpilibc/src/main/native/include/Commands/WaitUntilCommand.h @@ -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: Commands/WaitUntilCommand.h is deprecated; include frc/commands/WaitUntilCommand.h instead" +#else +#warning "Commands/WaitUntilCommand.h is deprecated; include frc/commands/WaitUntilCommand.h instead" +#endif + +// clang-format on + +#include "frc/commands/WaitUntilCommand.h" diff --git a/wpilibc/src/main/native/include/Compressor.h b/wpilibc/src/main/native/include/Compressor.h new file mode 100644 index 0000000000..bfb018e4b5 --- /dev/null +++ b/wpilibc/src/main/native/include/Compressor.h @@ -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: Compressor.h is deprecated; include frc/Compressor.h instead" +#else +#warning "Compressor.h is deprecated; include frc/Compressor.h instead" +#endif + +// clang-format on + +#include "frc/Compressor.h" diff --git a/wpilibc/src/main/native/include/Controller.h b/wpilibc/src/main/native/include/Controller.h new file mode 100644 index 0000000000..b869373374 --- /dev/null +++ b/wpilibc/src/main/native/include/Controller.h @@ -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: Controller.h is deprecated; include frc/Controller.h instead" +#else +#warning "Controller.h is deprecated; include frc/Controller.h instead" +#endif + +// clang-format on + +#include "frc/Controller.h" diff --git a/wpilibc/src/main/native/include/ControllerPower.h b/wpilibc/src/main/native/include/ControllerPower.h new file mode 100644 index 0000000000..1469d19448 --- /dev/null +++ b/wpilibc/src/main/native/include/ControllerPower.h @@ -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: ControllerPower.h is deprecated; include frc/ControllerPower.h instead" +#else +#warning "ControllerPower.h is deprecated; include frc/ControllerPower.h instead" +#endif + +// clang-format on + +#include "frc/ControllerPower.h" diff --git a/wpilibc/src/main/native/include/Counter.h b/wpilibc/src/main/native/include/Counter.h new file mode 100644 index 0000000000..e088897bb2 --- /dev/null +++ b/wpilibc/src/main/native/include/Counter.h @@ -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: Counter.h is deprecated; include frc/Counter.h instead" +#else +#warning "Counter.h is deprecated; include frc/Counter.h instead" +#endif + +// clang-format on + +#include "frc/Counter.h" diff --git a/wpilibc/src/main/native/include/CounterBase.h b/wpilibc/src/main/native/include/CounterBase.h new file mode 100644 index 0000000000..736577f739 --- /dev/null +++ b/wpilibc/src/main/native/include/CounterBase.h @@ -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: CounterBase.h is deprecated; include frc/CounterBase.h instead" +#else +#warning "CounterBase.h is deprecated; include frc/CounterBase.h instead" +#endif + +// clang-format on + +#include "frc/CounterBase.h" diff --git a/wpilibc/src/main/native/include/DMC60.h b/wpilibc/src/main/native/include/DMC60.h new file mode 100644 index 0000000000..0fe04158e7 --- /dev/null +++ b/wpilibc/src/main/native/include/DMC60.h @@ -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: DMC60.h is deprecated; include frc/DMC60.h instead" +#else +#warning "DMC60.h is deprecated; include frc/DMC60.h instead" +#endif + +// clang-format on + +#include "frc/DMC60.h" diff --git a/wpilibc/src/main/native/include/DigitalGlitchFilter.h b/wpilibc/src/main/native/include/DigitalGlitchFilter.h new file mode 100644 index 0000000000..d35c82a6ce --- /dev/null +++ b/wpilibc/src/main/native/include/DigitalGlitchFilter.h @@ -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: DigitalGlitchFilter.h is deprecated; include frc/DigitalGlitchFilter.h instead" +#else +#warning "DigitalGlitchFilter.h is deprecated; include frc/DigitalGlitchFilter.h instead" +#endif + +// clang-format on + +#include "frc/DigitalGlitchFilter.h" diff --git a/wpilibc/src/main/native/include/DigitalInput.h b/wpilibc/src/main/native/include/DigitalInput.h new file mode 100644 index 0000000000..2b2a9b1dcb --- /dev/null +++ b/wpilibc/src/main/native/include/DigitalInput.h @@ -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: DigitalInput.h is deprecated; include frc/DigitalInput.h instead" +#else +#warning "DigitalInput.h is deprecated; include frc/DigitalInput.h instead" +#endif + +// clang-format on + +#include "frc/DigitalInput.h" diff --git a/wpilibc/src/main/native/include/DigitalOutput.h b/wpilibc/src/main/native/include/DigitalOutput.h new file mode 100644 index 0000000000..56983c6eee --- /dev/null +++ b/wpilibc/src/main/native/include/DigitalOutput.h @@ -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: DigitalOutput.h is deprecated; include frc/DigitalOutput.h instead" +#else +#warning "DigitalOutput.h is deprecated; include frc/DigitalOutput.h instead" +#endif + +// clang-format on + +#include "frc/DigitalOutput.h" diff --git a/wpilibc/src/main/native/include/DigitalSource.h b/wpilibc/src/main/native/include/DigitalSource.h new file mode 100644 index 0000000000..9eae461d46 --- /dev/null +++ b/wpilibc/src/main/native/include/DigitalSource.h @@ -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: DigitalSource.h is deprecated; include frc/DigitalSource.h instead" +#else +#warning "DigitalSource.h is deprecated; include frc/DigitalSource.h instead" +#endif + +// clang-format on + +#include "frc/DigitalSource.h" diff --git a/wpilibc/src/main/native/include/DoubleSolenoid.h b/wpilibc/src/main/native/include/DoubleSolenoid.h new file mode 100644 index 0000000000..3c1bf96c9d --- /dev/null +++ b/wpilibc/src/main/native/include/DoubleSolenoid.h @@ -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: DoubleSolenoid.h is deprecated; include frc/DoubleSolenoid.h instead" +#else +#warning "DoubleSolenoid.h is deprecated; include frc/DoubleSolenoid.h instead" +#endif + +// clang-format on + +#include "frc/DoubleSolenoid.h" diff --git a/wpilibc/src/main/native/include/Drive/DifferentialDrive.h b/wpilibc/src/main/native/include/Drive/DifferentialDrive.h new file mode 100644 index 0000000000..4071d60273 --- /dev/null +++ b/wpilibc/src/main/native/include/Drive/DifferentialDrive.h @@ -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: Drive/DifferentialDrive.h is deprecated; include frc/drive/DifferentialDrive.h instead" +#else +#warning "Drive/DifferentialDrive.h is deprecated; include frc/drive/DifferentialDrive.h instead" +#endif + +// clang-format on + +#include "frc/drive/DifferentialDrive.h" diff --git a/wpilibc/src/main/native/include/Drive/KilloughDrive.h b/wpilibc/src/main/native/include/Drive/KilloughDrive.h new file mode 100644 index 0000000000..fbe54a42b7 --- /dev/null +++ b/wpilibc/src/main/native/include/Drive/KilloughDrive.h @@ -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: Drive/KilloughDrive.h is deprecated; include frc/drive/KilloughDrive.h instead" +#else +#warning "Drive/KilloughDrive.h is deprecated; include frc/drive/KilloughDrive.h instead" +#endif + +// clang-format on + +#include "frc/drive/KilloughDrive.h" diff --git a/wpilibc/src/main/native/include/Drive/MecanumDrive.h b/wpilibc/src/main/native/include/Drive/MecanumDrive.h new file mode 100644 index 0000000000..b5a22aaa22 --- /dev/null +++ b/wpilibc/src/main/native/include/Drive/MecanumDrive.h @@ -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: Drive/MecanumDrive.h is deprecated; include frc/drive/MecanumDrive.h instead" +#else +#warning "Drive/MecanumDrive.h is deprecated; include frc/drive/MecanumDrive.h instead" +#endif + +// clang-format on + +#include "frc/drive/MecanumDrive.h" diff --git a/wpilibc/src/main/native/include/Drive/RobotDriveBase.h b/wpilibc/src/main/native/include/Drive/RobotDriveBase.h new file mode 100644 index 0000000000..f37ec0c710 --- /dev/null +++ b/wpilibc/src/main/native/include/Drive/RobotDriveBase.h @@ -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: Drive/RobotDriveBase.h is deprecated; include frc/drive/RobotDriveBase.h instead" +#else +#warning "Drive/RobotDriveBase.h is deprecated; include frc/drive/RobotDriveBase.h instead" +#endif + +// clang-format on + +#include "frc/drive/RobotDriveBase.h" diff --git a/wpilibc/src/main/native/include/Drive/Vector2d.h b/wpilibc/src/main/native/include/Drive/Vector2d.h new file mode 100644 index 0000000000..01516ed732 --- /dev/null +++ b/wpilibc/src/main/native/include/Drive/Vector2d.h @@ -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: Drive/Vector2d.h is deprecated; include frc/drive/Vector2d.h instead" +#else +#warning "Drive/Vector2d.h is deprecated; include frc/drive/Vector2d.h instead" +#endif + +// clang-format on + +#include "frc/drive/Vector2d.h" diff --git a/wpilibc/src/main/native/include/DriverStation.h b/wpilibc/src/main/native/include/DriverStation.h new file mode 100644 index 0000000000..c00adbc22a --- /dev/null +++ b/wpilibc/src/main/native/include/DriverStation.h @@ -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: DriverStation.h is deprecated; include frc/DriverStation.h instead" +#else +#warning "DriverStation.h is deprecated; include frc/DriverStation.h instead" +#endif + +// clang-format on + +#include "frc/DriverStation.h" diff --git a/wpilibc/src/main/native/include/Encoder.h b/wpilibc/src/main/native/include/Encoder.h new file mode 100644 index 0000000000..214100dde1 --- /dev/null +++ b/wpilibc/src/main/native/include/Encoder.h @@ -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: Encoder.h is deprecated; include frc/Encoder.h instead" +#else +#warning "Encoder.h is deprecated; include frc/Encoder.h instead" +#endif + +// clang-format on + +#include "frc/Encoder.h" diff --git a/wpilibc/src/main/native/include/Error.h b/wpilibc/src/main/native/include/Error.h new file mode 100644 index 0000000000..f3fb5de601 --- /dev/null +++ b/wpilibc/src/main/native/include/Error.h @@ -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: Error.h is deprecated; include frc/Error.h instead" +#else +#warning "Error.h is deprecated; include frc/Error.h instead" +#endif + +// clang-format on + +#include "frc/Error.h" diff --git a/wpilibc/src/main/native/include/ErrorBase.h b/wpilibc/src/main/native/include/ErrorBase.h new file mode 100644 index 0000000000..eb300d9c85 --- /dev/null +++ b/wpilibc/src/main/native/include/ErrorBase.h @@ -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: ErrorBase.h is deprecated; include frc/ErrorBase.h instead" +#else +#warning "ErrorBase.h is deprecated; include frc/ErrorBase.h instead" +#endif + +// clang-format on + +#include "frc/ErrorBase.h" diff --git a/wpilibc/src/main/native/include/Filters/Filter.h b/wpilibc/src/main/native/include/Filters/Filter.h new file mode 100644 index 0000000000..4fd382f3a4 --- /dev/null +++ b/wpilibc/src/main/native/include/Filters/Filter.h @@ -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: Filters/Filter.h is deprecated; include frc/filters/Filter.h instead" +#else +#warning "Filters/Filter.h is deprecated; include frc/filters/Filter.h instead" +#endif + +// clang-format on + +#include "frc/filters/Filter.h" diff --git a/wpilibc/src/main/native/include/Filters/LinearDigitalFilter.h b/wpilibc/src/main/native/include/Filters/LinearDigitalFilter.h new file mode 100644 index 0000000000..b0da22cfb9 --- /dev/null +++ b/wpilibc/src/main/native/include/Filters/LinearDigitalFilter.h @@ -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: Filters/LinearDigitalFilter.h is deprecated; include frc/filters/LinearDigitalFilter.h instead" +#else +#warning "Filters/LinearDigitalFilter.h is deprecated; include frc/filters/LinearDigitalFilter.h instead" +#endif + +// clang-format on + +#include "frc/filters/LinearDigitalFilter.h" diff --git a/wpilibc/src/main/native/include/GamepadBase.h b/wpilibc/src/main/native/include/GamepadBase.h new file mode 100644 index 0000000000..bc8d809432 --- /dev/null +++ b/wpilibc/src/main/native/include/GamepadBase.h @@ -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: GamepadBase.h is deprecated; include frc/GamepadBase.h instead" +#else +#warning "GamepadBase.h is deprecated; include frc/GamepadBase.h instead" +#endif + +// clang-format on + +#include "frc/GamepadBase.h" diff --git a/wpilibc/src/main/native/include/GearTooth.h b/wpilibc/src/main/native/include/GearTooth.h new file mode 100644 index 0000000000..2c56f95900 --- /dev/null +++ b/wpilibc/src/main/native/include/GearTooth.h @@ -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: GearTooth.h is deprecated; include frc/GearTooth.h instead" +#else +#warning "GearTooth.h is deprecated; include frc/GearTooth.h instead" +#endif + +// clang-format on + +#include "frc/GearTooth.h" diff --git a/wpilibc/src/main/native/include/GenericHID.h b/wpilibc/src/main/native/include/GenericHID.h new file mode 100644 index 0000000000..d30569297a --- /dev/null +++ b/wpilibc/src/main/native/include/GenericHID.h @@ -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: GenericHID.h is deprecated; include frc/GenericHID.h instead" +#else +#warning "GenericHID.h is deprecated; include frc/GenericHID.h instead" +#endif + +// clang-format on + +#include "frc/GenericHID.h" diff --git a/wpilibc/src/main/native/include/GyroBase.h b/wpilibc/src/main/native/include/GyroBase.h new file mode 100644 index 0000000000..f2b90971ca --- /dev/null +++ b/wpilibc/src/main/native/include/GyroBase.h @@ -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: GyroBase.h is deprecated; include frc/GyroBase.h instead" +#else +#warning "GyroBase.h is deprecated; include frc/GyroBase.h instead" +#endif + +// clang-format on + +#include "frc/GyroBase.h" diff --git a/wpilibc/src/main/native/include/I2C.h b/wpilibc/src/main/native/include/I2C.h new file mode 100644 index 0000000000..594fdafee6 --- /dev/null +++ b/wpilibc/src/main/native/include/I2C.h @@ -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: I2C.h is deprecated; include frc/I2C.h instead" +#else +#warning "I2C.h is deprecated; include frc/I2C.h instead" +#endif + +// clang-format on + +#include "frc/I2C.h" diff --git a/wpilibc/src/main/native/include/InterruptableSensorBase.h b/wpilibc/src/main/native/include/InterruptableSensorBase.h new file mode 100644 index 0000000000..43e4f74d2c --- /dev/null +++ b/wpilibc/src/main/native/include/InterruptableSensorBase.h @@ -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" diff --git a/wpilibc/src/main/native/include/IterativeRobot.h b/wpilibc/src/main/native/include/IterativeRobot.h new file mode 100644 index 0000000000..7ad7973a60 --- /dev/null +++ b/wpilibc/src/main/native/include/IterativeRobot.h @@ -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: IterativeRobot.h is deprecated; include frc/IterativeRobot.h instead" +#else +#warning "IterativeRobot.h is deprecated; include frc/IterativeRobot.h instead" +#endif + +// clang-format on + +#include "frc/IterativeRobot.h" diff --git a/wpilibc/src/main/native/include/IterativeRobotBase.h b/wpilibc/src/main/native/include/IterativeRobotBase.h new file mode 100644 index 0000000000..e87c547b00 --- /dev/null +++ b/wpilibc/src/main/native/include/IterativeRobotBase.h @@ -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: IterativeRobotBase.h is deprecated; include frc/IterativeRobotBase.h instead" +#else +#warning "IterativeRobotBase.h is deprecated; include frc/IterativeRobotBase.h instead" +#endif + +// clang-format on + +#include "frc/IterativeRobotBase.h" diff --git a/wpilibc/src/main/native/include/Jaguar.h b/wpilibc/src/main/native/include/Jaguar.h new file mode 100644 index 0000000000..7eea49ddce --- /dev/null +++ b/wpilibc/src/main/native/include/Jaguar.h @@ -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: Jaguar.h is deprecated; include frc/Jaguar.h instead" +#else +#warning "Jaguar.h is deprecated; include frc/Jaguar.h instead" +#endif + +// clang-format on + +#include "frc/Jaguar.h" diff --git a/wpilibc/src/main/native/include/Joystick.h b/wpilibc/src/main/native/include/Joystick.h new file mode 100644 index 0000000000..febc148be7 --- /dev/null +++ b/wpilibc/src/main/native/include/Joystick.h @@ -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: Joystick.h is deprecated; include frc/Joystick.h instead" +#else +#warning "Joystick.h is deprecated; include frc/Joystick.h instead" +#endif + +// clang-format on + +#include "frc/Joystick.h" diff --git a/wpilibc/src/main/native/include/JoystickBase.h b/wpilibc/src/main/native/include/JoystickBase.h new file mode 100644 index 0000000000..4aa2a59f9c --- /dev/null +++ b/wpilibc/src/main/native/include/JoystickBase.h @@ -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: JoystickBase.h is deprecated; include frc/JoystickBase.h instead" +#else +#warning "JoystickBase.h is deprecated; include frc/JoystickBase.h instead" +#endif + +// clang-format on + +#include "frc/JoystickBase.h" diff --git a/wpilibc/src/main/native/include/LiveWindow/LiveWindow.h b/wpilibc/src/main/native/include/LiveWindow/LiveWindow.h new file mode 100644 index 0000000000..99e762845b --- /dev/null +++ b/wpilibc/src/main/native/include/LiveWindow/LiveWindow.h @@ -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: LiveWindow/LiveWindow.h is deprecated; include frc/livewindow/LiveWindow.h instead" +#else +#warning "LiveWindow/LiveWindow.h is deprecated; include frc/livewindow/LiveWindow.h instead" +#endif + +// clang-format on + +#include "frc/livewindow/LiveWindow.h" diff --git a/wpilibc/src/main/native/include/LiveWindow/LiveWindowSendable.h b/wpilibc/src/main/native/include/LiveWindow/LiveWindowSendable.h new file mode 100644 index 0000000000..cc8082bdf9 --- /dev/null +++ b/wpilibc/src/main/native/include/LiveWindow/LiveWindowSendable.h @@ -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: LiveWindow/LiveWindowSendable.h is deprecated; include frc/livewindow/LiveWindowSendable.h instead" +#else +#warning "LiveWindow/LiveWindowSendable.h is deprecated; include frc/livewindow/LiveWindowSendable.h instead" +#endif + +// clang-format on + +#include "frc/livewindow/LiveWindowSendable.h" diff --git a/wpilibc/src/main/native/include/MotorSafety.h b/wpilibc/src/main/native/include/MotorSafety.h new file mode 100644 index 0000000000..a33fd0b357 --- /dev/null +++ b/wpilibc/src/main/native/include/MotorSafety.h @@ -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: MotorSafety.h is deprecated; include frc/MotorSafety.h instead" +#else +#warning "MotorSafety.h is deprecated; include frc/MotorSafety.h instead" +#endif + +// clang-format on + +#include "frc/MotorSafety.h" diff --git a/wpilibc/src/main/native/include/MotorSafetyHelper.h b/wpilibc/src/main/native/include/MotorSafetyHelper.h new file mode 100644 index 0000000000..24d5eb6e0f --- /dev/null +++ b/wpilibc/src/main/native/include/MotorSafetyHelper.h @@ -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: MotorSafetyHelper.h is deprecated; include frc/MotorSafetyHelper.h instead" +#else +#warning "MotorSafetyHelper.h is deprecated; include frc/MotorSafetyHelper.h instead" +#endif + +// clang-format on + +#include "frc/MotorSafetyHelper.h" diff --git a/wpilibc/src/main/native/include/NidecBrushless.h b/wpilibc/src/main/native/include/NidecBrushless.h new file mode 100644 index 0000000000..093778732a --- /dev/null +++ b/wpilibc/src/main/native/include/NidecBrushless.h @@ -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: NidecBrushless.h is deprecated; include frc/NidecBrushless.h instead" +#else +#warning "NidecBrushless.h is deprecated; include frc/NidecBrushless.h instead" +#endif + +// clang-format on + +#include "frc/NidecBrushless.h" diff --git a/wpilibc/src/main/native/include/Notifier.h b/wpilibc/src/main/native/include/Notifier.h new file mode 100644 index 0000000000..28e6a20c70 --- /dev/null +++ b/wpilibc/src/main/native/include/Notifier.h @@ -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: Notifier.h is deprecated; include frc/Notifier.h instead" +#else +#warning "Notifier.h is deprecated; include frc/Notifier.h instead" +#endif + +// clang-format on + +#include "frc/Notifier.h" diff --git a/wpilibc/src/main/native/include/PIDBase.h b/wpilibc/src/main/native/include/PIDBase.h new file mode 100644 index 0000000000..b9e2d50626 --- /dev/null +++ b/wpilibc/src/main/native/include/PIDBase.h @@ -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: PIDBase.h is deprecated; include frc/PIDBase.h instead" +#else +#warning "PIDBase.h is deprecated; include frc/PIDBase.h instead" +#endif + +// clang-format on + +#include "frc/PIDBase.h" diff --git a/wpilibc/src/main/native/include/PIDController.h b/wpilibc/src/main/native/include/PIDController.h new file mode 100644 index 0000000000..38777ea998 --- /dev/null +++ b/wpilibc/src/main/native/include/PIDController.h @@ -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: PIDController.h is deprecated; include frc/PIDController.h instead" +#else +#warning "PIDController.h is deprecated; include frc/PIDController.h instead" +#endif + +// clang-format on + +#include "frc/PIDController.h" diff --git a/wpilibc/src/main/native/include/PIDInterface.h b/wpilibc/src/main/native/include/PIDInterface.h new file mode 100644 index 0000000000..8e0f10ef7a --- /dev/null +++ b/wpilibc/src/main/native/include/PIDInterface.h @@ -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: PIDInterface.h is deprecated; include frc/PIDInterface.h instead" +#else +#warning "PIDInterface.h is deprecated; include frc/PIDInterface.h instead" +#endif + +// clang-format on + +#include "frc/PIDInterface.h" diff --git a/wpilibc/src/main/native/include/PIDOutput.h b/wpilibc/src/main/native/include/PIDOutput.h new file mode 100644 index 0000000000..857ce0f2ce --- /dev/null +++ b/wpilibc/src/main/native/include/PIDOutput.h @@ -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: PIDOutput.h is deprecated; include frc/PIDOutput.h instead" +#else +#warning "PIDOutput.h is deprecated; include frc/PIDOutput.h instead" +#endif + +// clang-format on + +#include "frc/PIDOutput.h" diff --git a/wpilibc/src/main/native/include/PIDSource.h b/wpilibc/src/main/native/include/PIDSource.h new file mode 100644 index 0000000000..29b84692ec --- /dev/null +++ b/wpilibc/src/main/native/include/PIDSource.h @@ -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: PIDSource.h is deprecated; include frc/PIDSource.h instead" +#else +#warning "PIDSource.h is deprecated; include frc/PIDSource.h instead" +#endif + +// clang-format on + +#include "frc/PIDSource.h" diff --git a/wpilibc/src/main/native/include/PWM.h b/wpilibc/src/main/native/include/PWM.h new file mode 100644 index 0000000000..989c4f7e9b --- /dev/null +++ b/wpilibc/src/main/native/include/PWM.h @@ -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: PWM.h is deprecated; include frc/PWM.h instead" +#else +#warning "PWM.h is deprecated; include frc/PWM.h instead" +#endif + +// clang-format on + +#include "frc/PWM.h" diff --git a/wpilibc/src/main/native/include/PWMSpeedController.h b/wpilibc/src/main/native/include/PWMSpeedController.h new file mode 100644 index 0000000000..f15f3846d9 --- /dev/null +++ b/wpilibc/src/main/native/include/PWMSpeedController.h @@ -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: PWMSpeedController.h is deprecated; include frc/PWMSpeedController.h instead" +#else +#warning "PWMSpeedController.h is deprecated; include frc/PWMSpeedController.h instead" +#endif + +// clang-format on + +#include "frc/PWMSpeedController.h" diff --git a/wpilibc/src/main/native/include/PWMTalonSRX.h b/wpilibc/src/main/native/include/PWMTalonSRX.h new file mode 100644 index 0000000000..43a132a777 --- /dev/null +++ b/wpilibc/src/main/native/include/PWMTalonSRX.h @@ -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: PWMTalonSRX.h is deprecated; include frc/PWMTalonSRX.h instead" +#else +#warning "PWMTalonSRX.h is deprecated; include frc/PWMTalonSRX.h instead" +#endif + +// clang-format on + +#include "frc/PWMTalonSRX.h" diff --git a/wpilibc/src/main/native/include/PWMVictorSPX.h b/wpilibc/src/main/native/include/PWMVictorSPX.h new file mode 100644 index 0000000000..0fd6a1ec05 --- /dev/null +++ b/wpilibc/src/main/native/include/PWMVictorSPX.h @@ -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: PWMVictorSPX.h is deprecated; include frc/PWMVictorSPX.h instead" +#else +#warning "PWMVictorSPX.h is deprecated; include frc/PWMVictorSPX.h instead" +#endif + +// clang-format on + +#include "frc/PWMVictorSPX.h" diff --git a/wpilibc/src/main/native/include/PowerDistributionPanel.h b/wpilibc/src/main/native/include/PowerDistributionPanel.h new file mode 100644 index 0000000000..fa4cae5d2b --- /dev/null +++ b/wpilibc/src/main/native/include/PowerDistributionPanel.h @@ -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: PowerDistributionPanel.h is deprecated; include frc/PowerDistributionPanel.h instead" +#else +#warning "PowerDistributionPanel.h is deprecated; include frc/PowerDistributionPanel.h instead" +#endif + +// clang-format on + +#include "frc/PowerDistributionPanel.h" diff --git a/wpilibc/src/main/native/include/Preferences.h b/wpilibc/src/main/native/include/Preferences.h new file mode 100644 index 0000000000..3a857f311b --- /dev/null +++ b/wpilibc/src/main/native/include/Preferences.h @@ -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: Preferences.h is deprecated; include frc/Preferences.h instead" +#else +#warning "Preferences.h is deprecated; include frc/Preferences.h instead" +#endif + +// clang-format on + +#include "frc/Preferences.h" diff --git a/wpilibc/src/main/native/include/Relay.h b/wpilibc/src/main/native/include/Relay.h new file mode 100644 index 0000000000..22896fee18 --- /dev/null +++ b/wpilibc/src/main/native/include/Relay.h @@ -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: Relay.h is deprecated; include frc/Relay.h instead" +#else +#warning "Relay.h is deprecated; include frc/Relay.h instead" +#endif + +// clang-format on + +#include "frc/Relay.h" diff --git a/wpilibc/src/main/native/include/Resource.h b/wpilibc/src/main/native/include/Resource.h new file mode 100644 index 0000000000..c314eb39dc --- /dev/null +++ b/wpilibc/src/main/native/include/Resource.h @@ -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: Resource.h is deprecated; include frc/Resource.h instead" +#else +#warning "Resource.h is deprecated; include frc/Resource.h instead" +#endif + +// clang-format on + +#include "frc/Resource.h" diff --git a/wpilibc/src/main/native/include/RobotBase.h b/wpilibc/src/main/native/include/RobotBase.h new file mode 100644 index 0000000000..f6faa81eae --- /dev/null +++ b/wpilibc/src/main/native/include/RobotBase.h @@ -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: RobotBase.h is deprecated; include frc/RobotBase.h instead" +#else +#warning "RobotBase.h is deprecated; include frc/RobotBase.h instead" +#endif + +// clang-format on + +#include "frc/RobotBase.h" diff --git a/wpilibc/src/main/native/include/RobotController.h b/wpilibc/src/main/native/include/RobotController.h new file mode 100644 index 0000000000..0cf64b21b3 --- /dev/null +++ b/wpilibc/src/main/native/include/RobotController.h @@ -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: RobotController.h is deprecated; include frc/RobotController.h instead" +#else +#warning "RobotController.h is deprecated; include frc/RobotController.h instead" +#endif + +// clang-format on + +#include "frc/RobotController.h" diff --git a/wpilibc/src/main/native/include/RobotDrive.h b/wpilibc/src/main/native/include/RobotDrive.h new file mode 100644 index 0000000000..7b34cc41f0 --- /dev/null +++ b/wpilibc/src/main/native/include/RobotDrive.h @@ -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: RobotDrive.h is deprecated; include frc/RobotDrive.h instead" +#else +#warning "RobotDrive.h is deprecated; include frc/RobotDrive.h instead" +#endif + +// clang-format on + +#include "frc/RobotDrive.h" diff --git a/wpilibc/src/main/native/include/RobotState.h b/wpilibc/src/main/native/include/RobotState.h new file mode 100644 index 0000000000..329b8ede3a --- /dev/null +++ b/wpilibc/src/main/native/include/RobotState.h @@ -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: RobotState.h is deprecated; include frc/RobotState.h instead" +#else +#warning "RobotState.h is deprecated; include frc/RobotState.h instead" +#endif + +// clang-format on + +#include "frc/RobotState.h" diff --git a/wpilibc/src/main/native/include/SD540.h b/wpilibc/src/main/native/include/SD540.h new file mode 100644 index 0000000000..851870305e --- /dev/null +++ b/wpilibc/src/main/native/include/SD540.h @@ -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: SD540.h is deprecated; include frc/SD540.h instead" +#else +#warning "SD540.h is deprecated; include frc/SD540.h instead" +#endif + +// clang-format on + +#include "frc/SD540.h" diff --git a/wpilibc/src/main/native/include/SPI.h b/wpilibc/src/main/native/include/SPI.h new file mode 100644 index 0000000000..827a10c3f9 --- /dev/null +++ b/wpilibc/src/main/native/include/SPI.h @@ -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: SPI.h is deprecated; include frc/SPI.h instead" +#else +#warning "SPI.h is deprecated; include frc/SPI.h instead" +#endif + +// clang-format on + +#include "frc/SPI.h" diff --git a/wpilibc/src/main/native/include/SafePWM.h b/wpilibc/src/main/native/include/SafePWM.h new file mode 100644 index 0000000000..2a440940c4 --- /dev/null +++ b/wpilibc/src/main/native/include/SafePWM.h @@ -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: SafePWM.h is deprecated; include frc/SafePWM.h instead" +#else +#warning "SafePWM.h is deprecated; include frc/SafePWM.h instead" +#endif + +// clang-format on + +#include "frc/SafePWM.h" diff --git a/wpilibc/src/main/native/include/SampleRobot.h b/wpilibc/src/main/native/include/SampleRobot.h new file mode 100644 index 0000000000..16ca36ad66 --- /dev/null +++ b/wpilibc/src/main/native/include/SampleRobot.h @@ -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: SampleRobot.h is deprecated; include frc/SampleRobot.h instead" +#else +#warning "SampleRobot.h is deprecated; include frc/SampleRobot.h instead" +#endif + +// clang-format on + +#include "frc/SampleRobot.h" diff --git a/wpilibc/src/main/native/include/SensorUtil.h b/wpilibc/src/main/native/include/SensorUtil.h new file mode 100644 index 0000000000..8fd7b36be4 --- /dev/null +++ b/wpilibc/src/main/native/include/SensorUtil.h @@ -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: SensorUtil.h is deprecated; include frc/SensorUtil.h instead" +#else +#warning "SensorUtil.h is deprecated; include frc/SensorUtil.h instead" +#endif + +// clang-format on + +#include "frc/SensorUtil.h" diff --git a/wpilibc/src/main/native/include/SerialPort.h b/wpilibc/src/main/native/include/SerialPort.h new file mode 100644 index 0000000000..4df02ca335 --- /dev/null +++ b/wpilibc/src/main/native/include/SerialPort.h @@ -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: SerialPort.h is deprecated; include frc/SerialPort.h instead" +#else +#warning "SerialPort.h is deprecated; include frc/SerialPort.h instead" +#endif + +// clang-format on + +#include "frc/SerialPort.h" diff --git a/wpilibc/src/main/native/include/Servo.h b/wpilibc/src/main/native/include/Servo.h new file mode 100644 index 0000000000..99cf2f2930 --- /dev/null +++ b/wpilibc/src/main/native/include/Servo.h @@ -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: Servo.h is deprecated; include frc/Servo.h instead" +#else +#warning "Servo.h is deprecated; include frc/Servo.h instead" +#endif + +// clang-format on + +#include "frc/Servo.h" diff --git a/wpilibc/src/main/native/include/SmartDashboard/NamedSendable.h b/wpilibc/src/main/native/include/SmartDashboard/NamedSendable.h new file mode 100644 index 0000000000..7cbcbe7903 --- /dev/null +++ b/wpilibc/src/main/native/include/SmartDashboard/NamedSendable.h @@ -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: SmartDashboard/NamedSendable.h is deprecated; include frc/smartdashboard/NamedSendable.h instead" +#else +#warning "SmartDashboard/NamedSendable.h is deprecated; include frc/smartdashboard/NamedSendable.h instead" +#endif + +// clang-format on + +#include "frc/smartdashboard/NamedSendable.h" diff --git a/wpilibc/src/main/native/include/SmartDashboard/Sendable.h b/wpilibc/src/main/native/include/SmartDashboard/Sendable.h new file mode 100644 index 0000000000..187c1ea130 --- /dev/null +++ b/wpilibc/src/main/native/include/SmartDashboard/Sendable.h @@ -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: smartdashboard/Sendable.h is deprecated; include frc/smartdashboard/Sendable.h instead" +#else +#warning "smartdashboard/Sendable.h is deprecated; include frc/smartdashboard/Sendable.h instead" +#endif + +// clang-format on + +#include "frc/smartdashboard/Sendable.h" diff --git a/wpilibc/src/main/native/include/SmartDashboard/SendableBase.h b/wpilibc/src/main/native/include/SmartDashboard/SendableBase.h new file mode 100644 index 0000000000..d898040b33 --- /dev/null +++ b/wpilibc/src/main/native/include/SmartDashboard/SendableBase.h @@ -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: smartdashboard/SendableBase.h is deprecated; include frc/smartdashboard/SendableBase.h instead" +#else +#warning "smartdashboard/SendableBase.h is deprecated; include frc/smartdashboard/SendableBase.h instead" +#endif + +// clang-format on + +#include "frc/smartdashboard/SendableBase.h" diff --git a/wpilibc/src/main/native/include/SmartDashboard/SendableBuilder.h b/wpilibc/src/main/native/include/SmartDashboard/SendableBuilder.h new file mode 100644 index 0000000000..7102c35327 --- /dev/null +++ b/wpilibc/src/main/native/include/SmartDashboard/SendableBuilder.h @@ -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: smartdashboard/SendableBuilder.h is deprecated; include frc/smartdashboard/SendableBuilder.h instead" +#else +#warning "smartdashboard/SendableBuilder.h is deprecated; include frc/smartdashboard/SendableBuilder.h instead" +#endif + +// clang-format on + +#include "frc/smartdashboard/SendableBuilder.h" diff --git a/wpilibc/src/main/native/include/SmartDashboard/SendableBuilderImpl.h b/wpilibc/src/main/native/include/SmartDashboard/SendableBuilderImpl.h new file mode 100644 index 0000000000..b956309c54 --- /dev/null +++ b/wpilibc/src/main/native/include/SmartDashboard/SendableBuilderImpl.h @@ -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: smartdashboard/SendableBuilderImpl.h is deprecated; include frc/smartdashboard/SendableBuilderImpl.h instead" +#else +#warning "smartdashboard/SendableBuilderImpl.h is deprecated; include frc/smartdashboard/SendableBuilderImpl.h instead" +#endif + +// clang-format on + +#include "frc/smartdashboard/SendableBuilderImpl.h" diff --git a/wpilibc/src/main/native/include/SmartDashboard/SendableChooser.h b/wpilibc/src/main/native/include/SmartDashboard/SendableChooser.h new file mode 100644 index 0000000000..5e4683fcf0 --- /dev/null +++ b/wpilibc/src/main/native/include/SmartDashboard/SendableChooser.h @@ -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: smartdashboard/SendableChooser.h is deprecated; include frc/smartdashboard/SendableChooser.h instead" +#else +#warning "smartdashboard/SendableChooser.h is deprecated; include frc/smartdashboard/SendableChooser.h instead" +#endif + +// clang-format on + +#include "frc/smartdashboard/SendableChooser.h" diff --git a/wpilibc/src/main/native/include/SmartDashboard/SendableChooser.inc b/wpilibc/src/main/native/include/SmartDashboard/SendableChooser.inc new file mode 100644 index 0000000000..79e8b161ea --- /dev/null +++ b/wpilibc/src/main/native/include/SmartDashboard/SendableChooser.inc @@ -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: smartdashboard/SendableChooser.inc is deprecated; include frc/smartdashboard/SendableChooser.inc instead" +#else +#warning "smartdashboard/SendableChooser.inc is deprecated; include frc/smartdashboard/SendableChooser.inc instead" +#endif + +// clang-format on + +#include "frc/smartdashboard/SendableChooser.inc" diff --git a/wpilibc/src/main/native/include/SmartDashboard/SendableChooserBase.h b/wpilibc/src/main/native/include/SmartDashboard/SendableChooserBase.h new file mode 100644 index 0000000000..436675c7d0 --- /dev/null +++ b/wpilibc/src/main/native/include/SmartDashboard/SendableChooserBase.h @@ -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: smartdashboard/SendableChooserBase.h is deprecated; include frc/smartdashboard/SendableChooserBase.h instead" +#else +#warning "smartdashboard/SendableChooserBase.h is deprecated; include frc/smartdashboard/SendableChooserBase.h instead" +#endif + +// clang-format on + +#include "frc/smartdashboard/SendableChooserBase.h" diff --git a/wpilibc/src/main/native/include/SmartDashboard/SmartDashboard.h b/wpilibc/src/main/native/include/SmartDashboard/SmartDashboard.h new file mode 100644 index 0000000000..cc7c75f4e1 --- /dev/null +++ b/wpilibc/src/main/native/include/SmartDashboard/SmartDashboard.h @@ -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: smartdashboard/SmartDashboard.h is deprecated; include frc/smartdashboard/SmartDashboard.h instead" +#else +#warning "smartdashboard/SmartDashboard.h is deprecated; include frc/smartdashboard/SmartDashboard.h instead" +#endif + +// clang-format on + +#include "frc/smartdashboard/SmartDashboard.h" diff --git a/wpilibc/src/main/native/include/Solenoid.h b/wpilibc/src/main/native/include/Solenoid.h new file mode 100644 index 0000000000..b565188910 --- /dev/null +++ b/wpilibc/src/main/native/include/Solenoid.h @@ -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: Solenoid.h is deprecated; include frc/Solenoid.h instead" +#else +#warning "Solenoid.h is deprecated; include frc/Solenoid.h instead" +#endif + +// clang-format on + +#include "frc/Solenoid.h" diff --git a/wpilibc/src/main/native/include/SolenoidBase.h b/wpilibc/src/main/native/include/SolenoidBase.h new file mode 100644 index 0000000000..967820034c --- /dev/null +++ b/wpilibc/src/main/native/include/SolenoidBase.h @@ -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: SolenoidBase.h is deprecated; include frc/SolenoidBase.h instead" +#else +#warning "SolenoidBase.h is deprecated; include frc/SolenoidBase.h instead" +#endif + +// clang-format on + +#include "frc/SolenoidBase.h" diff --git a/wpilibc/src/main/native/include/Spark.h b/wpilibc/src/main/native/include/Spark.h new file mode 100644 index 0000000000..b01c2c9406 --- /dev/null +++ b/wpilibc/src/main/native/include/Spark.h @@ -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: Spark.h is deprecated; include frc/Spark.h instead" +#else +#warning "Spark.h is deprecated; include frc/Spark.h instead" +#endif + +// clang-format on + +#include "frc/Spark.h" diff --git a/wpilibc/src/main/native/include/SpeedController.h b/wpilibc/src/main/native/include/SpeedController.h new file mode 100644 index 0000000000..27f0c9dd1a --- /dev/null +++ b/wpilibc/src/main/native/include/SpeedController.h @@ -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: SpeedController.h is deprecated; include frc/SpeedController.h instead" +#else +#warning "SpeedController.h is deprecated; include frc/SpeedController.h instead" +#endif + +// clang-format on + +#include "frc/SpeedController.h" diff --git a/wpilibc/src/main/native/include/SpeedControllerGroup.h b/wpilibc/src/main/native/include/SpeedControllerGroup.h new file mode 100644 index 0000000000..ae387b60a7 --- /dev/null +++ b/wpilibc/src/main/native/include/SpeedControllerGroup.h @@ -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: SpeedControllerGroup.h is deprecated; include frc/SpeedControllerGroup.h instead" +#else +#warning "SpeedControllerGroup.h is deprecated; include frc/SpeedControllerGroup.h instead" +#endif + +// clang-format on + +#include "frc/SpeedControllerGroup.h" diff --git a/wpilibc/src/main/native/include/SpeedControllerGroup.inc b/wpilibc/src/main/native/include/SpeedControllerGroup.inc new file mode 100644 index 0000000000..f1f6271c87 --- /dev/null +++ b/wpilibc/src/main/native/include/SpeedControllerGroup.inc @@ -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: SpeedControllerGroup.inc is deprecated; include frc/SpeedControllerGroup.inc instead" +#else +#warning "SpeedControllerGroup.inc is deprecated; include frc/SpeedControllerGroup.inc instead" +#endif + +// clang-format on + +#include "frc/SpeedControllerGroup.inc" diff --git a/wpilibc/src/main/native/include/SynchronousPID.h b/wpilibc/src/main/native/include/SynchronousPID.h new file mode 100644 index 0000000000..f2a9c53112 --- /dev/null +++ b/wpilibc/src/main/native/include/SynchronousPID.h @@ -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: SynchronousPID.h is deprecated; include frc/SynchronousPID.h instead" +#else +#warning "SynchronousPID.h is deprecated; include frc/SynchronousPID.h instead" +#endif + +// clang-format on + +#include "frc/SynchronousPID.h" diff --git a/wpilibc/src/main/native/include/Talon.h b/wpilibc/src/main/native/include/Talon.h new file mode 100644 index 0000000000..59c431c0ab --- /dev/null +++ b/wpilibc/src/main/native/include/Talon.h @@ -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: Talon.h is deprecated; include frc/Talon.h instead" +#else +#warning "Talon.h is deprecated; include frc/Talon.h instead" +#endif + +// clang-format on + +#include "frc/Talon.h" diff --git a/wpilibc/src/main/native/include/Threads.h b/wpilibc/src/main/native/include/Threads.h new file mode 100644 index 0000000000..3a9561ff1d --- /dev/null +++ b/wpilibc/src/main/native/include/Threads.h @@ -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: Threads.h is deprecated; include frc/Threads.h instead" +#else +#warning "Threads.h is deprecated; include frc/Threads.h instead" +#endif + +// clang-format on + +#include "frc/Threads.h" diff --git a/wpilibc/src/main/native/include/TimedRobot.h b/wpilibc/src/main/native/include/TimedRobot.h new file mode 100644 index 0000000000..3c5f39392b --- /dev/null +++ b/wpilibc/src/main/native/include/TimedRobot.h @@ -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: TimedRobot.h is deprecated; include frc/TimedRobot.h instead" +#else +#warning "TimedRobot.h is deprecated; include frc/TimedRobot.h instead" +#endif + +// clang-format on + +#include "frc/TimedRobot.h" diff --git a/wpilibc/src/main/native/include/Timer.h b/wpilibc/src/main/native/include/Timer.h new file mode 100644 index 0000000000..2df6097abf --- /dev/null +++ b/wpilibc/src/main/native/include/Timer.h @@ -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: Timer.h is deprecated; include frc/Timer.h instead" +#else +#warning "Timer.h is deprecated; include frc/Timer.h instead" +#endif + +// clang-format on + +#include "frc/Timer.h" diff --git a/wpilibc/src/main/native/include/Ultrasonic.h b/wpilibc/src/main/native/include/Ultrasonic.h new file mode 100644 index 0000000000..8c32ad8f41 --- /dev/null +++ b/wpilibc/src/main/native/include/Ultrasonic.h @@ -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: Ultrasonic.h is deprecated; include frc/Ultrasonic.h instead" +#else +#warning "Ultrasonic.h is deprecated; include frc/Ultrasonic.h instead" +#endif + +// clang-format on + +#include "frc/Ultrasonic.h" diff --git a/wpilibc/src/main/native/include/Utility.h b/wpilibc/src/main/native/include/Utility.h new file mode 100644 index 0000000000..229423852d --- /dev/null +++ b/wpilibc/src/main/native/include/Utility.h @@ -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: Utility.h is deprecated; include frc/Utility.h instead" +#else +#warning "Utility.h is deprecated; include frc/Utility.h instead" +#endif + +// clang-format on + +#include "frc/Utility.h" diff --git a/wpilibc/src/main/native/include/Victor.h b/wpilibc/src/main/native/include/Victor.h new file mode 100644 index 0000000000..d17df6df94 --- /dev/null +++ b/wpilibc/src/main/native/include/Victor.h @@ -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: Victor.h is deprecated; include frc/Victor.h instead" +#else +#warning "Victor.h is deprecated; include frc/Victor.h instead" +#endif + +// clang-format on + +#include "frc/Victor.h" diff --git a/wpilibc/src/main/native/include/VictorSP.h b/wpilibc/src/main/native/include/VictorSP.h new file mode 100644 index 0000000000..a0c8616d3e --- /dev/null +++ b/wpilibc/src/main/native/include/VictorSP.h @@ -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: VictorSP.h is deprecated; include frc/VictorSP.h instead" +#else +#warning "VictorSP.h is deprecated; include frc/VictorSP.h instead" +#endif + +// clang-format on + +#include "frc/VictorSP.h" diff --git a/wpilibc/src/main/native/include/WPIErrors.h b/wpilibc/src/main/native/include/WPIErrors.h new file mode 100644 index 0000000000..6893bce317 --- /dev/null +++ b/wpilibc/src/main/native/include/WPIErrors.h @@ -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: WPIErrors.h is deprecated; include frc/WPIErrors.h instead" +#else +#warning "WPIErrors.h is deprecated; include frc/WPIErrors.h instead" +#endif + +// clang-format on + +#include "frc/WPIErrors.h" diff --git a/wpilibc/src/main/native/include/WPILib.h b/wpilibc/src/main/native/include/WPILib.h new file mode 100644 index 0000000000..ab3e60818f --- /dev/null +++ b/wpilibc/src/main/native/include/WPILib.h @@ -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: WPILib.h is deprecated; include frc/WPILib.h instead" +#else +#warning "WPILib.h is deprecated; include frc/WPILib.h instead" +#endif + +// clang-format on + +#include "frc/WPILib.h" diff --git a/wpilibc/src/main/native/include/Watchdog.h b/wpilibc/src/main/native/include/Watchdog.h new file mode 100644 index 0000000000..7ba2bf87b1 --- /dev/null +++ b/wpilibc/src/main/native/include/Watchdog.h @@ -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: Watchdog.h is deprecated; include frc/Watchdog.h instead" +#else +#warning "Watchdog.h is deprecated; include frc/Watchdog.h instead" +#endif + +// clang-format on + +#include "frc/Watchdog.h" diff --git a/wpilibc/src/main/native/include/XboxController.h b/wpilibc/src/main/native/include/XboxController.h new file mode 100644 index 0000000000..b0abca927d --- /dev/null +++ b/wpilibc/src/main/native/include/XboxController.h @@ -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: XboxController.h is deprecated; include frc/XboxController.h instead" +#else +#warning "XboxController.h is deprecated; include frc/XboxController.h instead" +#endif + +// clang-format on + +#include "frc/XboxController.h" diff --git a/wpilibc/src/main/native/include/circular_buffer.h b/wpilibc/src/main/native/include/circular_buffer.h new file mode 100644 index 0000000000..a150058c0c --- /dev/null +++ b/wpilibc/src/main/native/include/circular_buffer.h @@ -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: circular_buffer.h is deprecated; include frc/circular_buffer.h instead" +#else +#warning "circular_buffer.h is deprecated; include frc/circular_buffer.h instead" +#endif + +// clang-format on + +#include "frc/circular_buffer.h" diff --git a/wpilibc/src/main/native/include/circular_buffer.inc b/wpilibc/src/main/native/include/circular_buffer.inc new file mode 100644 index 0000000000..417286aba1 --- /dev/null +++ b/wpilibc/src/main/native/include/circular_buffer.inc @@ -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: circular_buffer.inc is deprecated; include frc/circular_buffer.inc instead" +#else +#warning "circular_buffer.inc is deprecated; include frc/circular_buffer.inc instead" +#endif + +// clang-format on + +#include "frc/circular_buffer.inc" diff --git a/wpilibc/src/main/native/include/interfaces/Accelerometer.h b/wpilibc/src/main/native/include/interfaces/Accelerometer.h new file mode 100644 index 0000000000..74b3c3876d --- /dev/null +++ b/wpilibc/src/main/native/include/interfaces/Accelerometer.h @@ -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: interfaces/Accelerometer.h is deprecated; include frc/interfaces/Accelerometer.h instead" +#else +#warning "interfaces/Accelerometer.h is deprecated; include frc/interfaces/Accelerometer.h instead" +#endif + +// clang-format on + +#include "frc/interfaces/Accelerometer.h" diff --git a/wpilibc/src/main/native/include/interfaces/Gyro.h b/wpilibc/src/main/native/include/interfaces/Gyro.h new file mode 100644 index 0000000000..f88ec5df6c --- /dev/null +++ b/wpilibc/src/main/native/include/interfaces/Gyro.h @@ -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: interfaces/Gyro.h is deprecated; include frc/interfaces/Gyro.h instead" +#else +#warning "interfaces/Gyro.h is deprecated; include frc/interfaces/Gyro.h instead" +#endif + +// clang-format on + +#include "frc/interfaces/Gyro.h" diff --git a/wpilibc/src/main/native/include/interfaces/Potentiometer.h b/wpilibc/src/main/native/include/interfaces/Potentiometer.h new file mode 100644 index 0000000000..d73d3db84d --- /dev/null +++ b/wpilibc/src/main/native/include/interfaces/Potentiometer.h @@ -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: interfaces/Potentiometer.h is deprecated; include frc/interfaces/Potentiometer.h instead" +#else +#warning "interfaces/Potentiometer.h is deprecated; include frc/interfaces/Potentiometer.h instead" +#endif + +// clang-format on + +#include "frc/interfaces/Potentiometer.h"