The Threader class looks at a mailbox, builds an in-memory structure of the messages based on a table, and if necessary updates that table.
Constructs a threader for mailbox, which must not be null.
Returns a pointer to the Mailbox mapped by this Threader. This cannot be a null pointer in a valid object.
Starts updating the thread data for mailbox(), if that's necessary. If refresh() causes any work to be done, the user will be notified of completion using EventHandler::execute().
Returns a pointer to an unsorted list of all subject threads. Never returns a null pointer. The returned list should not be modified.
Returns true if this Threader has complete data for mailbox(), and false if refresh() needs to be called or is working. If alsoOnDisk is true, updated() additionally checks whether the database tables are completely updated.
This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.