[ntcore, cscore, wpiutil] Standardize template impl files on .inc extension (NFC) (#3124)

This commit is contained in:
Tyler Veness
2021-05-25 22:19:30 -07:00
committed by GitHub
parent e7d9ba135c
commit 393bf23c0c
20 changed files with 28 additions and 28 deletions

View File

@@ -1040,6 +1040,6 @@ class VideoListener {
} // namespace cs
#include "cscore_oo.inl"
#include "cscore_oo.inc"
#endif // CSCORE_CSCORE_OO_H_

View File

@@ -2,8 +2,8 @@
// 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.
#ifndef CSCORE_CSCORE_OO_INL_
#define CSCORE_CSCORE_OO_INL_
#ifndef CSCORE_CSCORE_OO_INC_
#define CSCORE_CSCORE_OO_INC_
#include <string>
#include <utility>
@@ -648,4 +648,4 @@ inline VideoListener::~VideoListener() {
} // namespace cs
#endif // CSCORE_CSCORE_OO_INL_
#endif // CSCORE_CSCORE_OO_INC_

View File

@@ -40,4 +40,4 @@ class IniSaver : public IniSaverBase {
} // namespace glass
#include "IniSaver.inl"
#include "IniSaver.inc"

View File

@@ -53,4 +53,4 @@ class IniSaverString : public IniSaverBase {
} // namespace glass
#include "IniSaverString.inl"
#include "IniSaverString.inc"

View File

@@ -28,4 +28,4 @@ class IniSaverVector : public std::vector<Info>, public IniSaverBase {
} // namespace glass
#include "IniSaverVector.inl"
#include "IniSaverVector.inc"

View File

@@ -636,6 +636,6 @@ class NetworkTableEntry final {
} // namespace nt
#include "networktables/NetworkTableEntry.inl"
#include "networktables/NetworkTableEntry.inc"
#endif // NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_H_

View File

@@ -2,8 +2,8 @@
// 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.
#ifndef NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INL_
#define NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INL_
#ifndef NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INC_
#define NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INC_
#include <memory>
#include <string>
@@ -340,4 +340,4 @@ inline void NetworkTableEntry::RemoveListener(NT_EntryListener entry_listener) {
} // namespace nt
#endif // NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INL_
#endif // NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INC_

View File

@@ -567,6 +567,6 @@ class NetworkTableInstance final {
} // namespace nt
#include "networktables/NetworkTableInstance.inl"
#include "networktables/NetworkTableInstance.inc"
#endif // NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_H_

View File

@@ -2,8 +2,8 @@
// 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.
#ifndef NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INL_
#define NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INL_
#ifndef NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INC_
#define NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INC_
#include <utility>
#include <vector>
@@ -208,4 +208,4 @@ inline bool NetworkTableInstance::WaitForLoggerQueue(double timeout) {
} // namespace nt
#endif // NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INL_
#endif // NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INC_

View File

@@ -101,6 +101,6 @@ class RpcCall final {
} // namespace nt
#include "networktables/RpcCall.inl"
#include "networktables/RpcCall.inc"
#endif // NTCORE_NETWORKTABLES_RPCCALL_H_

View File

@@ -2,8 +2,8 @@
// 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.
#ifndef NTCORE_NETWORKTABLES_RPCCALL_INL_
#define NTCORE_NETWORKTABLES_RPCCALL_INL_
#ifndef NTCORE_NETWORKTABLES_RPCCALL_INC_
#define NTCORE_NETWORKTABLES_RPCCALL_INC_
#include <string>
#include <utility>
@@ -48,4 +48,4 @@ inline void RpcCall::CancelResult() {
} // namespace nt
#endif // NTCORE_NETWORKTABLES_RPCCALL_INL_
#endif // NTCORE_NETWORKTABLES_RPCCALL_INC_

View File

@@ -63,4 +63,4 @@ void CreateSingleProvider(const std::string& key,
} // namespace wpilibws
#include "WSHalProviders.inl"
#include "WSHalProviders.inc"

View File

@@ -411,6 +411,6 @@ class HttpMultipartScanner {
} // namespace wpi
#include "HttpUtil.inl"
#include "HttpUtil.inc"
#endif // WPIUTIL_WPI_HTTPUTIL_H_

View File

@@ -2,8 +2,8 @@
// 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.
#ifndef WPIUTIL_WPI_HTTPUTIL_INL_
#define WPIUTIL_WPI_HTTPUTIL_INL_
#ifndef WPIUTIL_WPI_HTTPUTIL_INC_
#define WPIUTIL_WPI_HTTPUTIL_INC_
#include <utility>
@@ -52,4 +52,4 @@ void HttpRequest::SetPath(StringRef path_, const T& params) {
} // namespace wpi
#endif // WPIUTIL_WPI_HTTPUTIL_INL_
#endif // WPIUTIL_WPI_HTTPUTIL_INC_

View File

@@ -86,6 +86,6 @@ class HttpWebSocketServerConnection
} // namespace wpi
#include "HttpWebSocketServerConnection.inl"
#include "HttpWebSocketServerConnection.inc"
#endif // WPIUTIL_WPI_HTTPWEBSOCKETSERVERCONNECTION_H_

View File

@@ -2,8 +2,8 @@
// 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.
#ifndef WPIUTIL_WPI_HTTPWEBSOCKETSERVERCONNECTION_INL_
#define WPIUTIL_WPI_HTTPWEBSOCKETSERVERCONNECTION_INL_
#ifndef WPIUTIL_WPI_HTTPWEBSOCKETSERVERCONNECTION_INC_
#define WPIUTIL_WPI_HTTPWEBSOCKETSERVERCONNECTION_INC_
#include <memory>
@@ -52,4 +52,4 @@ HttpWebSocketServerConnection<Derived>::HttpWebSocketServerConnection(
} // namespace wpi
#endif // WPIUTIL_WPI_HTTPWEBSOCKETSERVERCONNECTION_INL_
#endif // WPIUTIL_WPI_HTTPWEBSOCKETSERVERCONNECTION_INC_