From f02b1538e725c4020c347cddb1521c963889a378 Mon Sep 17 00:00:00 2001 From: mvglasow Date: Tue, 24 Jun 2025 19:33:48 +0300 Subject: [PATCH] Documentation Signed-off-by: mvglasow --- storage/storage.hpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/storage/storage.hpp b/storage/storage.hpp index 92100159b..be2bace71 100644 --- a/storage/storage.hpp +++ b/storage/storage.hpp @@ -139,14 +139,15 @@ struct NodeStatuses bool m_groupNode; }; -// This class is used for downloading, updating and deleting maps. -// Storage manages a queue of mwms to be downloaded. -// Every operation with this queue must be executed -// on the storage thread. In the current implementation, the storage -// thread coincides with the main (UI) thread. -// Downloading of only one mwm at a time is supported, so while the -// mwm at the top of the queue is being downloaded (or updated by -// applying a diff file) all other mwms have to wait. +/** + * @brief The Storage class is used for downloading, updating and deleting maps. + * + * Storage manages a queue of mwms to be downloaded. Every operation with this queue must be + * executed on the storage thread. In the current implementation, the storage thread coincides with + * the main (UI) thread. Downloading of only one mwm at a time is supported, so while the mwm at the + * top of the queue is being downloaded (or updated by applying a diff file) all other mwms have to + * wait. + */ class Storage final : public QueuedCountry::Subscriber { public: