From 6489ff4acdb9c0c4ace8a0cf89d411dcb4b4a363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Sowa?= Date: Wed, 2 Oct 2024 20:11:14 +0200 Subject: [PATCH] Use hpp extension for headers --- .../{h264_streamer.h => h264_streamer.hpp} | 2 +- .../{image_streamer.h => image_streamer.hpp} | 2 +- .../{jpeg_streamers.h => jpeg_streamers.hpp} | 4 ++-- .../{libav_streamer.h => libav_streamer.hpp} | 2 +- .../{multipart_stream.h => multipart_stream.hpp} | 0 .../{png_streamers.h => png_streamers.hpp} | 4 ++-- ...ssed_streamer.h => ros_compressed_streamer.hpp} | 4 ++-- include/web_video_server/{utils.h => utils.hpp} | 0 .../{vp8_streamer.h => vp8_streamer.hpp} | 2 +- .../{vp9_streamer.h => vp9_streamer.hpp} | 2 +- .../{web_video_server.h => web_video_server.hpp} | 2 +- src/h264_streamer.cpp | 2 +- src/image_streamer.cpp | 2 +- src/jpeg_streamers.cpp | 2 +- src/libav_streamer.cpp | 2 +- src/multipart_stream.cpp | 2 +- src/png_streamers.cpp | 2 +- src/ros_compressed_streamer.cpp | 2 +- src/utils.cpp | 2 +- src/vp8_streamer.cpp | 2 +- src/vp9_streamer.cpp | 2 +- src/web_video_server.cpp | 14 +++++++------- 22 files changed, 29 insertions(+), 29 deletions(-) rename include/web_video_server/{h264_streamer.h => h264_streamer.hpp} (95%) rename include/web_video_server/{image_streamer.h => image_streamer.hpp} (98%) rename include/web_video_server/{jpeg_streamers.h => jpeg_streamers.hpp} (93%) rename include/web_video_server/{libav_streamer.h => libav_streamer.hpp} (97%) rename include/web_video_server/{multipart_stream.h => multipart_stream.hpp} (100%) rename include/web_video_server/{png_streamers.h => png_streamers.hpp} (93%) rename include/web_video_server/{ros_compressed_streamer.h => ros_compressed_streamer.hpp} (93%) rename include/web_video_server/{utils.h => utils.hpp} (100%) rename include/web_video_server/{vp8_streamer.h => vp8_streamer.hpp} (98%) rename include/web_video_server/{vp9_streamer.h => vp9_streamer.hpp} (95%) rename include/web_video_server/{web_video_server.h => web_video_server.hpp} (98%) diff --git a/include/web_video_server/h264_streamer.h b/include/web_video_server/h264_streamer.hpp similarity index 95% rename from include/web_video_server/h264_streamer.h rename to include/web_video_server/h264_streamer.hpp index 223d079..50ac4e8 100644 --- a/include/web_video_server/h264_streamer.h +++ b/include/web_video_server/h264_streamer.hpp @@ -2,7 +2,7 @@ #define H264_STREAMERS_H_ #include -#include "web_video_server/libav_streamer.h" +#include "web_video_server/libav_streamer.hpp" #include "async_web_server_cpp/http_request.hpp" #include "async_web_server_cpp/http_connection.hpp" diff --git a/include/web_video_server/image_streamer.h b/include/web_video_server/image_streamer.hpp similarity index 98% rename from include/web_video_server/image_streamer.h rename to include/web_video_server/image_streamer.hpp index f0dc2ad..21a76e8 100644 --- a/include/web_video_server/image_streamer.h +++ b/include/web_video_server/image_streamer.hpp @@ -5,7 +5,7 @@ #include #include #include -#include "web_video_server/utils.h" +#include "web_video_server/utils.hpp" #include "async_web_server_cpp/http_server.hpp" #include "async_web_server_cpp/http_request.hpp" diff --git a/include/web_video_server/jpeg_streamers.h b/include/web_video_server/jpeg_streamers.hpp similarity index 93% rename from include/web_video_server/jpeg_streamers.h rename to include/web_video_server/jpeg_streamers.hpp index a79b6e2..416aa2d 100644 --- a/include/web_video_server/jpeg_streamers.h +++ b/include/web_video_server/jpeg_streamers.hpp @@ -2,10 +2,10 @@ #define JPEG_STREAMERS_H_ #include -#include "web_video_server/image_streamer.h" +#include "web_video_server/image_streamer.hpp" #include "async_web_server_cpp/http_request.hpp" #include "async_web_server_cpp/http_connection.hpp" -#include "web_video_server/multipart_stream.h" +#include "web_video_server/multipart_stream.hpp" namespace web_video_server { diff --git a/include/web_video_server/libav_streamer.h b/include/web_video_server/libav_streamer.hpp similarity index 97% rename from include/web_video_server/libav_streamer.h rename to include/web_video_server/libav_streamer.hpp index 9bb0012..c856a7a 100644 --- a/include/web_video_server/libav_streamer.h +++ b/include/web_video_server/libav_streamer.hpp @@ -2,7 +2,7 @@ #define LIBAV_STREAMERS_H_ #include -#include "web_video_server/image_streamer.h" +#include "web_video_server/image_streamer.hpp" #include "async_web_server_cpp/http_request.hpp" #include "async_web_server_cpp/http_connection.hpp" diff --git a/include/web_video_server/multipart_stream.h b/include/web_video_server/multipart_stream.hpp similarity index 100% rename from include/web_video_server/multipart_stream.h rename to include/web_video_server/multipart_stream.hpp diff --git a/include/web_video_server/png_streamers.h b/include/web_video_server/png_streamers.hpp similarity index 93% rename from include/web_video_server/png_streamers.h rename to include/web_video_server/png_streamers.hpp index 56fdcec..d3fdb8f 100644 --- a/include/web_video_server/png_streamers.h +++ b/include/web_video_server/png_streamers.hpp @@ -2,10 +2,10 @@ #define PNG_STREAMERS_H_ #include -#include "web_video_server/image_streamer.h" +#include "web_video_server/image_streamer.hpp" #include "async_web_server_cpp/http_request.hpp" #include "async_web_server_cpp/http_connection.hpp" -#include "web_video_server/multipart_stream.h" +#include "web_video_server/multipart_stream.hpp" namespace web_video_server { diff --git a/include/web_video_server/ros_compressed_streamer.h b/include/web_video_server/ros_compressed_streamer.hpp similarity index 93% rename from include/web_video_server/ros_compressed_streamer.h rename to include/web_video_server/ros_compressed_streamer.hpp index c1f676b..9cbf6fe 100644 --- a/include/web_video_server/ros_compressed_streamer.h +++ b/include/web_video_server/ros_compressed_streamer.hpp @@ -2,10 +2,10 @@ #define ROS_COMPRESSED_STREAMERS_H_ #include -#include "web_video_server/image_streamer.h" +#include "web_video_server/image_streamer.hpp" #include "async_web_server_cpp/http_request.hpp" #include "async_web_server_cpp/http_connection.hpp" -#include "web_video_server/multipart_stream.h" +#include "web_video_server/multipart_stream.hpp" namespace web_video_server { diff --git a/include/web_video_server/utils.h b/include/web_video_server/utils.hpp similarity index 100% rename from include/web_video_server/utils.h rename to include/web_video_server/utils.hpp diff --git a/include/web_video_server/vp8_streamer.h b/include/web_video_server/vp8_streamer.hpp similarity index 98% rename from include/web_video_server/vp8_streamer.h rename to include/web_video_server/vp8_streamer.hpp index 01cd7e7..3fd0554 100644 --- a/include/web_video_server/vp8_streamer.h +++ b/include/web_video_server/vp8_streamer.hpp @@ -38,7 +38,7 @@ #define VP8_STREAMERS_H_ #include -#include "web_video_server/libav_streamer.h" +#include "web_video_server/libav_streamer.hpp" #include "async_web_server_cpp/http_request.hpp" #include "async_web_server_cpp/http_connection.hpp" diff --git a/include/web_video_server/vp9_streamer.h b/include/web_video_server/vp9_streamer.hpp similarity index 95% rename from include/web_video_server/vp9_streamer.h rename to include/web_video_server/vp9_streamer.hpp index e6d0356..91c6ac2 100644 --- a/include/web_video_server/vp9_streamer.h +++ b/include/web_video_server/vp9_streamer.hpp @@ -2,7 +2,7 @@ #define VP9_STREAMERS_H_ #include -#include "web_video_server/libav_streamer.h" +#include "web_video_server/libav_streamer.hpp" #include "async_web_server_cpp/http_request.hpp" #include "async_web_server_cpp/http_connection.hpp" diff --git a/include/web_video_server/web_video_server.h b/include/web_video_server/web_video_server.hpp similarity index 98% rename from include/web_video_server/web_video_server.h rename to include/web_video_server/web_video_server.hpp index 93b4589..19c59ca 100644 --- a/include/web_video_server/web_video_server.h +++ b/include/web_video_server/web_video_server.hpp @@ -10,7 +10,7 @@ #endif #include -#include "web_video_server/image_streamer.h" +#include "web_video_server/image_streamer.hpp" #include "async_web_server_cpp/http_server.hpp" #include "async_web_server_cpp/http_request.hpp" #include "async_web_server_cpp/http_connection.hpp" diff --git a/src/h264_streamer.cpp b/src/h264_streamer.cpp index 05a6c72..89affcc 100644 --- a/src/h264_streamer.cpp +++ b/src/h264_streamer.cpp @@ -1,4 +1,4 @@ -#include "web_video_server/h264_streamer.h" +#include "web_video_server/h264_streamer.hpp" namespace web_video_server { diff --git a/src/image_streamer.cpp b/src/image_streamer.cpp index 7dcc4cb..c06f0a6 100644 --- a/src/image_streamer.cpp +++ b/src/image_streamer.cpp @@ -1,4 +1,4 @@ -#include "web_video_server/image_streamer.h" +#include "web_video_server/image_streamer.hpp" #ifdef CV_BRIDGE_USES_OLD_HEADERS #include diff --git a/src/jpeg_streamers.cpp b/src/jpeg_streamers.cpp index c48bc4a..d20adc5 100644 --- a/src/jpeg_streamers.cpp +++ b/src/jpeg_streamers.cpp @@ -1,4 +1,4 @@ -#include "web_video_server/jpeg_streamers.h" +#include "web_video_server/jpeg_streamers.hpp" #include "async_web_server_cpp/http_reply.hpp" namespace web_video_server diff --git a/src/libav_streamer.cpp b/src/libav_streamer.cpp index 9707b31..52d348f 100644 --- a/src/libav_streamer.cpp +++ b/src/libav_streamer.cpp @@ -1,4 +1,4 @@ -#include "web_video_server/libav_streamer.h" +#include "web_video_server/libav_streamer.hpp" #include "async_web_server_cpp/http_reply.hpp" /*https://stackoverflow.com/questions/46884682/error-in-building-opencv-with-ffmpeg*/ diff --git a/src/multipart_stream.cpp b/src/multipart_stream.cpp index caf60b7..096a96b 100644 --- a/src/multipart_stream.cpp +++ b/src/multipart_stream.cpp @@ -1,4 +1,4 @@ -#include "web_video_server/multipart_stream.h" +#include "web_video_server/multipart_stream.hpp" #include "async_web_server_cpp/http_reply.hpp" namespace web_video_server diff --git a/src/png_streamers.cpp b/src/png_streamers.cpp index 8d008f1..7fbd2a5 100644 --- a/src/png_streamers.cpp +++ b/src/png_streamers.cpp @@ -1,4 +1,4 @@ -#include "web_video_server/png_streamers.h" +#include "web_video_server/png_streamers.hpp" #include "async_web_server_cpp/http_reply.hpp" namespace web_video_server diff --git a/src/ros_compressed_streamer.cpp b/src/ros_compressed_streamer.cpp index e1c89f6..1366e5a 100644 --- a/src/ros_compressed_streamer.cpp +++ b/src/ros_compressed_streamer.cpp @@ -1,4 +1,4 @@ -#include "web_video_server/ros_compressed_streamer.h" +#include "web_video_server/ros_compressed_streamer.hpp" namespace web_video_server { diff --git a/src/utils.cpp b/src/utils.cpp index 314adf5..a7623c7 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -1,4 +1,4 @@ -#include "web_video_server/utils.h" +#include "web_video_server/utils.hpp" namespace web_video_server { diff --git a/src/vp8_streamer.cpp b/src/vp8_streamer.cpp index 33fb8ee..d9cdb90 100644 --- a/src/vp8_streamer.cpp +++ b/src/vp8_streamer.cpp @@ -34,7 +34,7 @@ * *********************************************************************/ -#include "web_video_server/vp8_streamer.h" +#include "web_video_server/vp8_streamer.hpp" namespace web_video_server { diff --git a/src/vp9_streamer.cpp b/src/vp9_streamer.cpp index da8fa65..90b80a9 100644 --- a/src/vp9_streamer.cpp +++ b/src/vp9_streamer.cpp @@ -1,4 +1,4 @@ -#include "web_video_server/vp9_streamer.h" +#include "web_video_server/vp9_streamer.hpp" namespace web_video_server { diff --git a/src/web_video_server.cpp b/src/web_video_server.cpp index 11acfc3..125e92b 100644 --- a/src/web_video_server.cpp +++ b/src/web_video_server.cpp @@ -6,13 +6,13 @@ #include #include -#include "web_video_server/web_video_server.h" -#include "web_video_server/ros_compressed_streamer.h" -#include "web_video_server/jpeg_streamers.h" -#include "web_video_server/png_streamers.h" -#include "web_video_server/vp8_streamer.h" -#include "web_video_server/h264_streamer.h" -#include "web_video_server/vp9_streamer.h" +#include "web_video_server/web_video_server.hpp" +#include "web_video_server/ros_compressed_streamer.hpp" +#include "web_video_server/jpeg_streamers.hpp" +#include "web_video_server/png_streamers.hpp" +#include "web_video_server/vp8_streamer.hpp" +#include "web_video_server/h264_streamer.hpp" +#include "web_video_server/vp9_streamer.hpp" #include "async_web_server_cpp/http_reply.hpp" using namespace std::chrono_literals;