File indexing completed on 2024-05-12 05:28:18

0001 // SPDX-FileCopyrightText: 2016 Sandro Knauß <knauss@kolabsys.com>
0002 // SPDX-License-Identifier: GPL-2.0-or-later
0003 
0004 #ifndef __MIMETREEPARSER_ENUMS_H__
0005 #define __MIMETREEPARSER_ENUMS_H__
0006 
0007 namespace MimeTreeParser
0008 {
0009 
0010 /**
0011  * The display update mode: Force updates the display immediately, Delayed updates
0012  * after some time (150ms by default)
0013  */
0014 enum UpdateMode { Force = 0, Delayed };
0015 
0016 /** Flags for the encryption state. */
0017 typedef enum { KMMsgEncryptionStateUnknown, KMMsgNotEncrypted, KMMsgPartiallyEncrypted, KMMsgFullyEncrypted, KMMsgEncryptionProblematic } KMMsgEncryptionState;
0018 
0019 /** Flags for the signature state. */
0020 typedef enum { KMMsgSignatureStateUnknown, KMMsgNotSigned, KMMsgPartiallySigned, KMMsgFullySigned, KMMsgSignatureProblematic } KMMsgSignatureState;
0021 
0022 }
0023 
0024 #endif