From 1ca53d14910ce7490f69d49fd0487edbd6327d4e Mon Sep 17 00:00:00 2001 From: trilader Date: Sat, 28 Nov 2020 15:40:46 +0100 Subject: [PATCH] Add license --- COPYING | 8 ++++++++ db.cpp | 1 + db.h | 1 + main.cpp | 1 + meson.build | 1 + tui.cpp | 1 + tui.h | 1 + yt.cpp | 1 + yt.h | 1 + 9 files changed, 16 insertions(+) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..bad0a65 --- /dev/null +++ b/COPYING @@ -0,0 +1,8 @@ +Copyright 2020 trilader + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/db.cpp b/db.cpp index a4fb4ac..5772d24 100644 --- a/db.cpp +++ b/db.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "db.h" sqlite3 *db = nullptr; diff --git a/db.h b/db.h index 4e94a05..6dfdc63 100644 --- a/db.h +++ b/db.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #pragma once #include diff --git a/main.cpp b/main.cpp index 5c2ed6e..3bc2f3b 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #define _X_OPEN_SOURCE #include "tui.h" diff --git a/meson.build b/meson.build index 3ca2c98..d304080 100644 --- a/meson.build +++ b/meson.build @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: MIT project('yttui', ['cpp'], default_options: ['buildtype=release', 'cpp_std=c++17'], version: '0.1.0') add_project_arguments('-Werror=return-type', language: 'cpp') diff --git a/tui.cpp b/tui.cpp index 1ab0f73..19e66b9 100644 --- a/tui.cpp +++ b/tui.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "tui.h" #include diff --git a/tui.h b/tui.h index 9af0912..4d86f32 100644 --- a/tui.h +++ b/tui.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #pragma once #include diff --git a/yt.cpp b/yt.cpp index 1d869bd..581c236 100644 --- a/yt.cpp +++ b/yt.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #include "yt.h" #include diff --git a/yt.h b/yt.h index 7678850..0b37ab8 100644 --- a/yt.h +++ b/yt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT #pragma once #include