aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-backend.h
Commit message (Collapse)AuthorAgeFilesLines
* Give MailSession a permanent home.Matthew Barnes2010-10-131-0/+2
| | | | | | | | | | | Global variables in shared libraries are a bad idea. EMailBackend now owns the MailSession instance, which is actually now EMailSession. Move the blocking utility functions in mail-tools.c to e-mail-session.c and add asynchronous variants. Same approach as Camel. Replace EMailReader.get_shell_backend() with EMailReader.get_backend(), which returns an EMailBackend. Easier access to the EMailSession.
* Introduce EMailBackend into libevolution-mail.Matthew Barnes2009-12-161-0/+79
EMailBackend is an abstract subclass of EShellBackend that handles online and offline modes and application shutdown. Placing this in the shared mail library allows Anjal to reuse it. Evolution's mail module further extends this class as EMailShellBackend.