summaryrefslogtreecommitdiffstats
path: root/kmail/acljobs.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/acljobs.h')
-rw-r--r--kmail/acljobs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kmail/acljobs.h b/kmail/acljobs.h
index 7abc8065..2a868540 100644
--- a/kmail/acljobs.h
+++ b/kmail/acljobs.h
@@ -59,6 +59,14 @@ namespace KMail {
*/
namespace ACLJobs {
+ // Used by KMFolderCachedImap and KMFolderImap, no better place for that yet, until we have a
+ // common base class for both
+ enum ACLFetchState {
+ NotFetchedYet, ///< The user rights/ACL have not been fetched from the server yet, we don't know them
+ Ok, ///< The user rights/ACL have been fetched from the server sucessfully
+ FetchFailed ///< The attempt to fetch the user rights/ACL from the server failed
+ };
+
/// Bitfield modelling the possible permissions.
/// This is modelled after the imap4 permissions except that Read is "rs".
/// The semantics of the bits is protocol-dependent.