From 2a5e66d68c6947b8bf2b84636dd0831c8227aff6 Mon Sep 17 00:00:00 2001 From: Digital Artifex <7929434+DigitalArtifex@users.noreply.github.com> Date: Thu, 13 Aug 2026 17:50:00 -0400 Subject: [PATCH] Added copywrite to headers --- KomplexHubPlugin/common/exceptions.h | 30 +++++++++++++++++---- KomplexHubPlugin/common/imagecache.h | 18 +++++++++++++ KomplexHubPlugin/common/shaderpack.h | 18 +++++++++++++ KomplexHubPlugin/common/shadertoymetadata.h | 18 +++++++++++++ KomplexHubPlugin/common/videocache.h | 18 +++++++++++++ KomplexHubPlugin/downloadmanager.h | 18 +++++++++++++ KomplexHubPlugin/packcompiler.h | 18 +++++++++++++ 7 files changed, 133 insertions(+), 5 deletions(-) diff --git a/KomplexHubPlugin/common/exceptions.h b/KomplexHubPlugin/common/exceptions.h index 4df8e1b..3623e73 100644 --- a/KomplexHubPlugin/common/exceptions.h +++ b/KomplexHubPlugin/common/exceptions.h @@ -1,3 +1,21 @@ +/* + * Komplex Wallpaper Engine + * Copyright (C) 2026 @DigitalArtifex + * https://digitalartifex.dev - https://github.com/DigitalArtifex + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see + */ #ifndef EXCEPTIONS_H #define EXCEPTIONS_H #include @@ -13,20 +31,22 @@ struct KOMPLEX_EXPORT Exception : std::exception const quint16 errorCode; }; -struct NetworkException : Exception +struct KOMPLEX_EXPORT NetworkException : Exception { NetworkException(const QString &message, qsizetype errorCode = 0) : Exception(message, errorCode) {} }; -struct FileException : Exception +struct KOMPLEX_EXPORT FileException : Exception { FileException(const QString &message, qsizetype errorCode = 0) : Exception(message, errorCode) {} }; -struct SqlException : Exception +struct KOMPLEX_EXPORT SqlException : Exception { SqlException(const QString &message, qsizetype errorCode = 0) : Exception(message, errorCode) {} }; - - +struct KOMPLEX_EXPORT WalletException : Exception +{ + WalletException(const QString &message, qsizetype errorCode = 0) : Exception(message, errorCode) {} +}; struct KOMPLEX_EXPORT ShaderCompilerException : Exception { ShaderCompilerException(const QString &message, qsizetype errorCode = 0) : Exception(message, errorCode) {} diff --git a/KomplexHubPlugin/common/imagecache.h b/KomplexHubPlugin/common/imagecache.h index 95b9fc4..9873590 100644 --- a/KomplexHubPlugin/common/imagecache.h +++ b/KomplexHubPlugin/common/imagecache.h @@ -1,3 +1,21 @@ +/* + * Komplex Wallpaper Engine + * Copyright (C) 2026 @DigitalArtifex + * https://digitalartifex.dev - https://github.com/DigitalArtifex + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see + */ #ifndef IMAGECACHE_H #define IMAGECACHE_H diff --git a/KomplexHubPlugin/common/shaderpack.h b/KomplexHubPlugin/common/shaderpack.h index ab2f179..5c5e9d0 100644 --- a/KomplexHubPlugin/common/shaderpack.h +++ b/KomplexHubPlugin/common/shaderpack.h @@ -1,3 +1,21 @@ +/* + * Komplex Wallpaper Engine + * Copyright (C) 2026 @DigitalArtifex + * https://digitalartifex.dev - https://github.com/DigitalArtifex + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see + */ #ifndef SHADERPACK_H #define SHADERPACK_H diff --git a/KomplexHubPlugin/common/shadertoymetadata.h b/KomplexHubPlugin/common/shadertoymetadata.h index 66e6641..0334e3c 100644 --- a/KomplexHubPlugin/common/shadertoymetadata.h +++ b/KomplexHubPlugin/common/shadertoymetadata.h @@ -1,3 +1,21 @@ +/* + * Komplex Wallpaper Engine + * Copyright (C) 2026 @DigitalArtifex + * https://digitalartifex.dev - https://github.com/DigitalArtifex + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see + */ #ifndef SHADERTOYMETADATA_H #define SHADERTOYMETADATA_H #include diff --git a/KomplexHubPlugin/common/videocache.h b/KomplexHubPlugin/common/videocache.h index ba5dd9b..a5cbec9 100644 --- a/KomplexHubPlugin/common/videocache.h +++ b/KomplexHubPlugin/common/videocache.h @@ -1,3 +1,21 @@ +/* + * Komplex Wallpaper Engine + * Copyright (C) 2026 @DigitalArtifex + * https://digitalartifex.dev - https://github.com/DigitalArtifex + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see + */ #ifndef VIDEOCACHE_H #define VIDEOCACHE_H diff --git a/KomplexHubPlugin/downloadmanager.h b/KomplexHubPlugin/downloadmanager.h index aac2550..128f8c2 100644 --- a/KomplexHubPlugin/downloadmanager.h +++ b/KomplexHubPlugin/downloadmanager.h @@ -1,3 +1,21 @@ +/* + * Komplex Wallpaper Engine + * Copyright (C) 2026 @DigitalArtifex + * https://digitalartifex.dev - https://github.com/DigitalArtifex + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see + */ #ifndef DOWNLOADMANAGER_H #define DOWNLOADMANAGER_H diff --git a/KomplexHubPlugin/packcompiler.h b/KomplexHubPlugin/packcompiler.h index 70027e9..cdb4f7c 100644 --- a/KomplexHubPlugin/packcompiler.h +++ b/KomplexHubPlugin/packcompiler.h @@ -1,3 +1,21 @@ +/* + * Komplex Wallpaper Engine + * Copyright (C) 2026 @DigitalArtifex + * https://digitalartifex.dev - https://github.com/DigitalArtifex + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see + */ #ifndef PACKCOMPILER_H #define PACKCOMPILER_H