diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-12 23:57:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-17 07:57:08 +0800 |
commit | cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777 (patch) | |
tree | b52bb29c23f756a8b8228e5ff0c6c2ae049c4066 /e-util/e-util.h | |
parent | b55c39cdecd01471c808e7c0e88e8560afa54eab (diff) | |
download | gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar.gz gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar.bz2 gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar.lz gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar.xz gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar.zst gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.zip |
Add EClientCache.
New class to help reduce code duplication and centralize some EClient
handling policies.
Benefits:
- EClient instances can be shared across the entire application.
- Centralized rebroadcasting of "backend-died" and "backend-error"
signals emitted from cached EClient instances.
- Automatic cache invalidation when backends crash. The EClient
is discarded, and a new instance is created on the next request.
Diffstat (limited to 'e-util/e-util.h')
-rw-r--r-- | e-util/e-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/e-util/e-util.h b/e-util/e-util.h index e71c94f208..cd8f08b5b8 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -80,6 +80,7 @@ #include <e-util/e-cell.h> #include <e-util/e-charset-combo-box.h> #include <e-util/e-charset.h> +#include <e-util/e-client-cache.h> #include <e-util/e-config.h> #include <e-util/e-contact-store.h> #include <e-util/e-dateedit.h> |