From f4e6b0d726256ea45ea77e691182f18978222c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Wed, 1 Oct 2025 11:17:24 +0200 Subject: [PATCH] Add a doxy group for the PictureLoader. Took 26 minutes --- cockatrice/src/picture_loader/picture_loader.h | 6 ++++++ cockatrice/src/picture_loader/picture_loader_local.h | 6 ++++++ .../picture_loader_request_status_display_widget.h | 6 ++++++ cockatrice/src/picture_loader/picture_loader_status_bar.h | 6 ++++++ cockatrice/src/picture_loader/picture_loader_worker.h | 6 ++++++ cockatrice/src/picture_loader/picture_loader_worker_work.h | 6 ++++++ cockatrice/src/picture_loader/picture_to_load.h | 6 ++++++ doc/doxygen-groups/doc_groups.dox | 7 +++++++ 8 files changed, 49 insertions(+) diff --git a/cockatrice/src/picture_loader/picture_loader.h b/cockatrice/src/picture_loader/picture_loader.h index 793c611de..e03b24eea 100644 --- a/cockatrice/src/picture_loader/picture_loader.h +++ b/cockatrice/src/picture_loader/picture_loader.h @@ -1,3 +1,9 @@ +/** +* @file picture_loader.h + * @ingroup PictureLoader + * @brief TODO: Document this. + */ + #ifndef PICTURELOADER_H #define PICTURELOADER_H diff --git a/cockatrice/src/picture_loader/picture_loader_local.h b/cockatrice/src/picture_loader/picture_loader_local.h index f78510337..76ab7f9d4 100644 --- a/cockatrice/src/picture_loader/picture_loader_local.h +++ b/cockatrice/src/picture_loader/picture_loader_local.h @@ -1,3 +1,9 @@ +/** +* @file picture_loader_local.h + * @ingroup PictureLoader + * @brief TODO: Document this. + */ + #ifndef PICTURE_LOADER_LOCAL_H #define PICTURE_LOADER_LOCAL_H diff --git a/cockatrice/src/picture_loader/picture_loader_request_status_display_widget.h b/cockatrice/src/picture_loader/picture_loader_request_status_display_widget.h index 79da7a8e4..165333aea 100644 --- a/cockatrice/src/picture_loader/picture_loader_request_status_display_widget.h +++ b/cockatrice/src/picture_loader/picture_loader_request_status_display_widget.h @@ -1,3 +1,9 @@ +/** +* @file picture_loader_request_status_display_widget.h + * @ingroup PictureLoader + * @brief TODO: Document this. + */ + #ifndef PICTURE_LOADER_REQUEST_STATUS_DISPLAY_WIDGET_H #define PICTURE_LOADER_REQUEST_STATUS_DISPLAY_WIDGET_H #include "picture_loader_worker_work.h" diff --git a/cockatrice/src/picture_loader/picture_loader_status_bar.h b/cockatrice/src/picture_loader/picture_loader_status_bar.h index 759a8b7a2..a2a570ef5 100644 --- a/cockatrice/src/picture_loader/picture_loader_status_bar.h +++ b/cockatrice/src/picture_loader/picture_loader_status_bar.h @@ -1,3 +1,9 @@ +/** +* @file picture_loader_status_bar.h + * @ingroup PictureLoader + * @brief TODO: Document this. + */ + #ifndef PICTURE_LOADER_STATUS_BAR_H #define PICTURE_LOADER_STATUS_BAR_H diff --git a/cockatrice/src/picture_loader/picture_loader_worker.h b/cockatrice/src/picture_loader/picture_loader_worker.h index 1e9ca4be1..a51b4e0ae 100644 --- a/cockatrice/src/picture_loader/picture_loader_worker.h +++ b/cockatrice/src/picture_loader/picture_loader_worker.h @@ -1,3 +1,9 @@ +/** +* @file picture_loader_worker.h + * @ingroup PictureLoader + * @brief TODO: Document this. + */ + #ifndef PICTURE_LOADER_WORKER_H #define PICTURE_LOADER_WORKER_H diff --git a/cockatrice/src/picture_loader/picture_loader_worker_work.h b/cockatrice/src/picture_loader/picture_loader_worker_work.h index aa3927c17..922c767c4 100644 --- a/cockatrice/src/picture_loader/picture_loader_worker_work.h +++ b/cockatrice/src/picture_loader/picture_loader_worker_work.h @@ -1,3 +1,9 @@ +/** +* @file picture_loader_worker_work.h + * @ingroup PictureLoader + * @brief TODO: Document this. + */ + #ifndef PICTURE_LOADER_WORKER_WORK_H #define PICTURE_LOADER_WORKER_WORK_H diff --git a/cockatrice/src/picture_loader/picture_to_load.h b/cockatrice/src/picture_loader/picture_to_load.h index 2cfc13d59..85139434a 100644 --- a/cockatrice/src/picture_loader/picture_to_load.h +++ b/cockatrice/src/picture_loader/picture_to_load.h @@ -1,3 +1,9 @@ +/** +* @file picture_to_load.h + * @ingroup PictureLoader + * @brief TODO: Document this. + */ + #ifndef PICTURE_TO_LOAD_H #define PICTURE_TO_LOAD_H diff --git a/doc/doxygen-groups/doc_groups.dox b/doc/doxygen-groups/doc_groups.dox index 783eb04d8..11e50a400 100644 --- a/doc/doxygen-groups/doc_groups.dox +++ b/doc/doxygen-groups/doc_groups.dox @@ -515,6 +515,13 @@ * @brief Dialogs related to interacting with a remote server. */ +/** + * @defgroup PictureLoader Card Picture Loader + * @ingroup UI + * @ingroup Cards + * @brief The PictureLoader for CardInfoPictureWidget%s and CardItem%s + */ + /* ------------------------------------------------------------------ */ /* Replay */ /* ------------------------------------------------------------------ */