diff --git a/LICENSE b/LICENSE index 28c000a..92afb84 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020-2023 Muhammad Kamal Nadjieb +Copyright (c) 2020-2024 Muhammad Kamal Nadjieb Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/include/nadjieb/mjpeg_streamer.hpp b/include/nadjieb/mjpeg_streamer.hpp index 9601499..9d82985 100644 --- a/include/nadjieb/mjpeg_streamer.hpp +++ b/include/nadjieb/mjpeg_streamer.hpp @@ -4,7 +4,7 @@ C++ MJPEG over HTTP Library MIT License -Copyright (c) 2020-2023 Muhammad Kamal Nadjieb +Copyright (c) 2020-2024 Muhammad Kamal Nadjieb Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/single_include/nadjieb/mjpeg_streamer.hpp b/single_include/nadjieb/mjpeg_streamer.hpp index a43d533..8fd1f4a 100644 --- a/single_include/nadjieb/mjpeg_streamer.hpp +++ b/single_include/nadjieb/mjpeg_streamer.hpp @@ -4,7 +4,7 @@ C++ MJPEG over HTTP Library MIT License -Copyright (c) 2020-2023 Muhammad Kamal Nadjieb +Copyright (c) 2020-2024 Muhammad Kamal Nadjieb Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,7 +29,6 @@ SOFTWARE. // #include - /// The major version number #define NADJIEB_MJPEG_STREAMER_VERSION_MAJOR 3 @@ -40,15 +39,15 @@ SOFTWARE. #define NADJIEB_MJPEG_STREAMER_VERSION_PATCH 0 /// The complete version number -#define NADJIEB_MJPEG_STREAMER_VERSION_CODE (NADJIEB_MJPEG_STREAMER_VERSION_MAJOR * 10000 + NADJIEB_MJPEG_STREAMER_VERSION_MINOR * 100 + NADJIEB_MJPEG_STREAMER_VERSION_PATCH) +#define NADJIEB_MJPEG_STREAMER_VERSION_CODE \ + (NADJIEB_MJPEG_STREAMER_VERSION_MAJOR * 10000 + NADJIEB_MJPEG_STREAMER_VERSION_MINOR * 100 \ + + NADJIEB_MJPEG_STREAMER_VERSION_PATCH) /// Version number as string #define NADJIEB_MJPEG_STREAMER_VERSION_STRING "3.0.0" - // #include - #include #include #include @@ -112,7 +111,6 @@ class HTTPRequest { // #include - #include #include #include @@ -156,13 +154,10 @@ class HTTPResponse { // #include - // #include - // #include - #if defined _MSC_VER || defined __MINGW32__ #define NADJIEB_MJPEG_STREAMER_PLATFORM_WINDOWS #elif defined __APPLE_CC__ || defined __APPLE__ @@ -171,7 +166,6 @@ class HTTPResponse { #define NADJIEB_MJPEG_STREAMER_PLATFORM_LINUX #endif - #ifdef NADJIEB_MJPEG_STREAMER_PLATFORM_WINDOWS #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN @@ -339,7 +333,6 @@ static int pollSockets(NADJIEB_MJPEG_STREAMER_POLLFD* fds, size_t nfds, long tim // #include - namespace nadjieb { namespace utils { class NonCopyable { @@ -358,7 +351,6 @@ class NonCopyable { // #include - namespace nadjieb { namespace utils { enum class State { UNSPECIFIED = 0, NEW, BOOTING, RUNNING, TERMINATING, TERMINATED }; @@ -374,7 +366,6 @@ class Runnable { } // namespace utils } // namespace nadjieb - #include #include #include @@ -568,15 +559,12 @@ class Listener : public nadjieb::utils::NonCopyable, public nadjieb::utils::Runn // #include - // #include // #include - // #include - #include #include #include @@ -660,7 +648,6 @@ class Topic { // #include - #include #include #include @@ -818,7 +805,6 @@ class Publisher : public nadjieb::utils::NonCopyable, public nadjieb::utils::Run // #include - #include namespace nadjieb {