mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
SCRIPT Run cc include replacements
This commit is contained in:
committed by
Peter Johnson
parent
f0a3c64121
commit
7c6efa41ae
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "NetworkListener.h"
|
||||
#include "NetworkListener.hpp"
|
||||
|
||||
#include <linux/netlink.h>
|
||||
#include <linux/rtnetlink.h>
|
||||
@@ -16,10 +16,10 @@
|
||||
#include <algorithm>
|
||||
#include <cerrno>
|
||||
|
||||
#include <wpi/SafeThread.h>
|
||||
#include "wpi/util/SafeThread.hpp"
|
||||
|
||||
#include "Log.h"
|
||||
#include "Notifier.h"
|
||||
#include "Log.hpp"
|
||||
#include "Notifier.hpp"
|
||||
|
||||
using namespace cs;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "cscore_cpp.h" // NOLINT(build/include_order)
|
||||
#include "wpi/cs/cscore_cpp.hpp" // NOLINT(build/include_order)
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <ifaddrs.h>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include <wpi/Synchronization.h>
|
||||
#include "wpi/util/Synchronization.h"
|
||||
|
||||
#include "cscore_runloop.h"
|
||||
#include "wpi/cs/cscore_runloop.hpp"
|
||||
|
||||
static wpi::Event& GetInstance() {
|
||||
static wpi::Event event;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "UsbCameraImpl.h"
|
||||
#include "UsbCameraImpl.hpp"
|
||||
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
@@ -26,20 +26,20 @@
|
||||
#include <vector>
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include <wpi/MemAlloc.h>
|
||||
#include <wpi/SmallString.h>
|
||||
#include <wpi/StringExtras.h>
|
||||
#include <wpi/fs.h>
|
||||
#include <wpi/raw_ostream.h>
|
||||
#include <wpi/timestamp.h>
|
||||
#include "wpi/util/MemAlloc.hpp"
|
||||
#include "wpi/util/SmallString.hpp"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
#include "wpi/util/fs.hpp"
|
||||
#include "wpi/util/raw_ostream.hpp"
|
||||
#include "wpi/util/timestamp.h"
|
||||
|
||||
#include "Instance.h"
|
||||
#include "JpegUtil.h"
|
||||
#include "Log.h"
|
||||
#include "Notifier.h"
|
||||
#include "Telemetry.h"
|
||||
#include "UsbUtil.h"
|
||||
#include "cscore_cpp.h"
|
||||
#include "Instance.hpp"
|
||||
#include "JpegUtil.hpp"
|
||||
#include "Log.hpp"
|
||||
#include "Notifier.hpp"
|
||||
#include "Telemetry.hpp"
|
||||
#include "UsbUtil.hpp"
|
||||
#include "wpi/cs/cscore_cpp.hpp"
|
||||
|
||||
using namespace cs;
|
||||
|
||||
|
||||
@@ -15,15 +15,15 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <wpi/SmallVector.h>
|
||||
#include <wpi/condition_variable.h>
|
||||
#include <wpi/mutex.h>
|
||||
#include <wpi/raw_istream.h>
|
||||
#include <wpi/raw_ostream.h>
|
||||
#include "wpi/util/SmallVector.hpp"
|
||||
#include "wpi/util/condition_variable.hpp"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/util/raw_istream.hpp"
|
||||
#include "wpi/util/raw_ostream.hpp"
|
||||
|
||||
#include "SourceImpl.h"
|
||||
#include "UsbCameraBuffer.h"
|
||||
#include "UsbCameraProperty.h"
|
||||
#include "SourceImpl.hpp"
|
||||
#include "UsbCameraBuffer.hpp"
|
||||
#include "UsbCameraProperty.hpp"
|
||||
|
||||
namespace cs {
|
||||
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "UsbCameraListener.h"
|
||||
#include "UsbCameraListener.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <wpi/StringExtras.h>
|
||||
#include <wpinet/EventLoopRunner.h>
|
||||
#include <wpinet/uv/FsEvent.h>
|
||||
#include <wpinet/uv/Timer.h>
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
#include "wpi/net/EventLoopRunner.hpp"
|
||||
#include "wpi/net/uv/FsEvent.hpp"
|
||||
#include "wpi/net/uv/Timer.hpp"
|
||||
|
||||
#include "Notifier.h"
|
||||
#include "Notifier.hpp"
|
||||
|
||||
using namespace cs;
|
||||
|
||||
|
||||
@@ -2,17 +2,17 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "UsbCameraProperty.h"
|
||||
#include "UsbCameraProperty.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include <wpi/SmallString.h>
|
||||
#include <wpi/StringExtras.h>
|
||||
#include "wpi/util/SmallString.hpp"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
|
||||
#include "UsbUtil.h"
|
||||
#include "UsbUtil.hpp"
|
||||
|
||||
using namespace cs;
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <memory>
|
||||
#include <string_view>
|
||||
|
||||
#include <wpi/mutex.h>
|
||||
#include "wpi/util/mutex.hpp"
|
||||
|
||||
#include "PropertyImpl.h"
|
||||
#include "PropertyImpl.hpp"
|
||||
|
||||
namespace cs {
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "UsbUtil.h"
|
||||
#include "UsbUtil.hpp"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <libgen.h>
|
||||
@@ -11,13 +11,13 @@
|
||||
#include <string>
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include <wpi/SmallString.h>
|
||||
#include <wpi/StringExtras.h>
|
||||
#include <wpi/fs.h>
|
||||
#include <wpi/raw_istream.h>
|
||||
#include <wpi/raw_ostream.h>
|
||||
#include "wpi/util/SmallString.hpp"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
#include "wpi/util/fs.hpp"
|
||||
#include "wpi/util/raw_istream.hpp"
|
||||
#include "wpi/util/raw_ostream.hpp"
|
||||
|
||||
#include "Instance.h"
|
||||
#include "Instance.hpp"
|
||||
|
||||
namespace cs {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user