File indexing completed on 2025-01-26 04:58:14
0001 /* 0002 Copyright (c) 2016 Sandro Knauß <sknauss@kde.org> 0003 0004 This program is free software; you can redistribute it and/or modify 0005 it under the terms of the GNU General Public License as published by 0006 the Free Software Foundation; either version 2 of the License, or 0007 (at your option) any later version. 0008 0009 This program is distributed in the hope that it will be useful, 0010 but WITHOUT ANY WARRANTY; without even the implied warranty of 0011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0012 GNU General Public License for more details. 0013 0014 You should have received a copy of the GNU General Public License along 0015 with this program; if not, write to the Free Software Foundation, Inc., 0016 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 0017 */ 0018 0019 #ifndef __MIMETREEPARSER_ENUMS_H__ 0020 #define __MIMETREEPARSER_ENUMS_H__ 0021 0022 namespace MimeTreeParser 0023 { 0024 0025 /** 0026 * The display update mode: Force updates the display immediately, Delayed updates 0027 * after some time (150ms by default) 0028 */ 0029 enum UpdateMode { 0030 Force = 0, 0031 Delayed 0032 }; 0033 0034 /** Flags for the encryption state. */ 0035 typedef enum { 0036 KMMsgEncryptionStateUnknown, 0037 KMMsgNotEncrypted, 0038 KMMsgPartiallyEncrypted, 0039 KMMsgFullyEncrypted, 0040 KMMsgEncryptionProblematic 0041 } KMMsgEncryptionState; 0042 0043 /** Flags for the signature state. */ 0044 typedef enum { 0045 KMMsgSignatureStateUnknown, 0046 KMMsgNotSigned, 0047 KMMsgPartiallySigned, 0048 KMMsgFullySigned, 0049 KMMsgSignatureProblematic 0050 } KMMsgSignatureState; 0051 0052 } 0053 0054 #endif