/usr/include/akonadi/kmime/messageflags.h is in kdepimlibs5-dev 4:4.14.10-1ubuntu7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | /*
* Copyright (C) 2010 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
* Copyright (c) 2010 Leo Franchi <lfranchi@kde.org>
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Library General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
* License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
#ifndef AKONADI_MESSAGEFLAGS_H
#define AKONADI_MESSAGEFLAGS_H
#include "akonadi-kmime_export.h"
namespace KMime
{
class Message;
}
namespace Akonadi
{
class Item;
/**
* @short Contains predefined message flag identifiers.
*
* This namespace contains identifiers of message flags that
* are used internally in the Akonadi server.
*/
namespace MessageFlags
{
/**
* The flag for a message being seen (i.e. opened by user).
*/
AKONADI_KMIME_EXPORT extern const char *Seen;
/**
* The flag for a message being deleted by the user.
*/
AKONADI_KMIME_EXPORT extern const char *Deleted;
/**
* The flag for a message being replied to by the user.
* @deprecated use Replied instead.
*/
AKONADI_KMIME_EXPORT extern const char *Answered;
/**
* The flag for a message being marked as flagged.
*/
AKONADI_KMIME_EXPORT extern const char *Flagged;
/**
* The flag for a message being marked with an error.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *HasError;
/**
* The flag for a message being marked as having an attachment.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *HasAttachment;
/**
* The flag for a message being marked as having an invitation.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *HasInvitation;
/**
* The flag for a message being marked as sent.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *Sent;
/**
* The flag for a message being marked as queued.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *Queued;
/**
* The flag for a message being marked as replied.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *Replied;
/**
* The flag for a message being marked as forwarded.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *Forwarded;
/**
* The flag for a message being marked as action item to act on.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *ToAct;
/**
* The flag for a message being marked as watched.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *Watched;
/**
* The flag for a message being marked as ignored.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *Ignored;
/**
* The flag for a message being marked as signed.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *Signed;
/**
* The flag for a message being marked as encrypted.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *Encrypted;
/**
* The flag for a message being marked as spam.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *Spam;
/**
* The flag for a message being marked as ham.
* @since 4.6
*/
AKONADI_KMIME_EXPORT extern const char *Ham;
/**
* Copies all message flags from a KMime::Message object
* into an Akonadi::Item object
* @since 4.14.6
*/
AKONADI_KMIME_EXPORT void copyMessageFlags(KMime::Message &from, Akonadi::Item &to);
}
}
#endif
|