Skip to content

Commit

Permalink
Update License Year 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalnadjieb committed Nov 16, 2024
1 parent 3698a9e commit 29b02dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 20 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/nadjieb/mjpeg_streamer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 4 additions & 18 deletions single_include/nadjieb/mjpeg_streamer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -29,7 +29,6 @@ SOFTWARE.

// #include <nadjieb/utils/version.hpp>


/// The major version number
#define NADJIEB_MJPEG_STREAMER_VERSION_MAJOR 3

Expand All @@ -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 <nadjieb/net/http_request.hpp>


#include <sstream>
#include <string>
#include <unordered_map>
Expand Down Expand Up @@ -112,7 +111,6 @@ class HTTPRequest {

// #include <nadjieb/net/http_response.hpp>


#include <sstream>
#include <string>
#include <unordered_map>
Expand Down Expand Up @@ -156,13 +154,10 @@ class HTTPResponse {

// #include <nadjieb/net/listener.hpp>


// #include <nadjieb/net/socket.hpp>


// #include <nadjieb/utils/platform.hpp>


#if defined _MSC_VER || defined __MINGW32__
#define NADJIEB_MJPEG_STREAMER_PLATFORM_WINDOWS
#elif defined __APPLE_CC__ || defined __APPLE__
Expand All @@ -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
Expand Down Expand Up @@ -339,7 +333,6 @@ static int pollSockets(NADJIEB_MJPEG_STREAMER_POLLFD* fds, size_t nfds, long tim

// #include <nadjieb/utils/non_copyable.hpp>


namespace nadjieb {
namespace utils {
class NonCopyable {
Expand All @@ -358,7 +351,6 @@ class NonCopyable {

// #include <nadjieb/utils/runnable.hpp>


namespace nadjieb {
namespace utils {
enum class State { UNSPECIFIED = 0, NEW, BOOTING, RUNNING, TERMINATING, TERMINATED };
Expand All @@ -374,7 +366,6 @@ class Runnable {
} // namespace utils
} // namespace nadjieb


#include <functional>
#include <iostream>
#include <stdexcept>
Expand Down Expand Up @@ -568,15 +559,12 @@ class Listener : public nadjieb::utils::NonCopyable, public nadjieb::utils::Runn

// #include <nadjieb/net/publisher.hpp>


// #include <nadjieb/net/socket.hpp>

// #include <nadjieb/net/topic.hpp>


// #include <nadjieb/net/socket.hpp>


#include <mutex>
#include <shared_mutex>
#include <string>
Expand Down Expand Up @@ -660,7 +648,6 @@ class Topic {

// #include <nadjieb/utils/runnable.hpp>


#include <algorithm>
#include <condition_variable>
#include <mutex>
Expand Down Expand Up @@ -818,7 +805,6 @@ class Publisher : public nadjieb::utils::NonCopyable, public nadjieb::utils::Run

// #include <nadjieb/utils/non_copyable.hpp>


#include <string>

namespace nadjieb {
Expand Down

0 comments on commit 29b02dd

Please sign in to comment.