Skip to content

Commit

Permalink
Update copyright year in files
Browse files Browse the repository at this point in the history
  • Loading branch information
nhielost committed Mar 25, 2024
1 parent 1577426 commit aba4689
Show file tree
Hide file tree
Showing 75 changed files with 86 additions and 78 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ endif()
add_subdirectory(libremidi EXCLUDE_FROM_ALL)
target_include_directories(${CMAKE_PROJECT_NAME} SYSTEM PRIVATE libremidi/include)
# Prevent libremidi from causing MIDI 2 and C++20 errors when compiling
set_target_properties(libremidi PROPERTIES CXX_STANDARD 20 CXX_EXTENSIONS off)
set_target_properties(libremidi PROPERTIES CXX_STANDARD 20 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS ON)
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE libremidi)

target_sources(
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-audio-sources.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-audio-sources.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-collections.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-collections.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-filters.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-filters.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-hotkeys.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-hotkeys.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-media-sources.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-media-sources.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-midi.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-midi.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-none.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-none.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-profiles.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-profiles.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-record.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-record.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-replaybuffer.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-replaybuffer.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-scenes.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-scenes.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-stream.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-stream.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-studiomode.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-studiomode.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-transitions.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-transitions.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-video-sources.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-video-sources.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-virtualcam.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action-virtualcam.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/actions/mmg-action.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/mmg-binding.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/mmg-binding.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/mmg-config.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/mmg-config.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
6 changes: 3 additions & 3 deletions src/mmg-device.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -68,11 +68,11 @@ void MMGDevice::setActive(DeviceType type, bool active)

switch (type) {
case TYPE_INPUT:
_active ^= 0b01; // 00 -> 01, 10 -> 11, 01 -> 00, 11 -> 10
_active ^= 0b01;
break;

case TYPE_OUTPUT:
_active ^= 0b10; // 00 -> 10, 01 -> 11, 10 -> 00, 11 -> 01
_active ^= 0b10;
break;

default:
Expand Down
2 changes: 1 addition & 1 deletion src/mmg-device.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/mmg-link.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/mmg-link.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/mmg-manager.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/mmg-manager.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/mmg-message.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/mmg-message.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
obs-midi-mg
Copyright (C) 2022-2023 nhielost <nhielost@gmail.com>
Copyright (C) 2022-2024 nhielost <nhielost@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down

0 comments on commit aba4689

Please sign in to comment.