summaryrefslogtreecommitdiff
path: root/src/loggers.h
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2009-10-31 17:54:23 -0700
committerDaniel Burrows <dburrows@debian.org>2009-10-31 17:54:23 -0700
commit6ec478ad4fdd9445a7eaa90874806b94a3d064f3 (patch)
treef7bda9af12f38c124672e5b0224d85998da8822a /src/loggers.h
parent04113a05959403b72e8fe9bdf6beea70b53c9fb9 (diff)
downloadaptitude-6ec478ad4fdd9445a7eaa90874806b94a3d064f3.tar.gz
Create a new download_queue module that wraps up a generic background download queue that can accept new entries in an ongoing download and cancel arbitrary existing entries.
This is basically just a bunch of scaffolding to safely handle Acquire structures in a background thread. Future work here could perhaps include the ability to emit notifications about partial downloads, for instance so that screenshots can be rendered as they're downloaded.
Diffstat (limited to 'src/loggers.h')
-rw-r--r--src/loggers.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/loggers.h b/src/loggers.h
index 1497cc19..3e386529 100644
--- a/src/loggers.h
+++ b/src/loggers.h
@@ -71,6 +71,16 @@ namespace aptitude
*/
static log4cxx::LoggerPtr getAptitudeDownloadCache();
+ /** \brief The logger for events having to do with aptitude's
+ * background download queue.
+ */
+ static log4cxx::LoggerPtr getAptitudeDownloadQueue();
+
+ /** \brief The logger for events having to do with how aptitude's
+ * background download queue checks the download cache.
+ */
+ static log4cxx::LoggerPtr getAptitudeDownloadQueueCache();
+
/** \brief The logger for events having to do with the dpkg
* status pipe.
*/