Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / include / svl / mailenum.hxx
blob85595c2c51ccbb585782d89168757e8ee645b4e8
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_SVL_MAILENUM_HXX
20 #define INCLUDED_SVL_MAILENUM_HXX
22 enum MailState
24 MAIL_STATE_SUCCESS = 0,
25 MAIL_STATE_FAILURE,
26 MAIL_STATE_ATTACHED_NOT_FOUND,
27 MAIL_STATE_NO_MEMORY,
28 MAIL_STATE_LOGIN_FAILURE,
29 MAIL_STATE_RECEIVER_NOT_FOUND,
30 MAIL_STATE_TOO_MANY_FILES,
31 MAIL_STATE_TOO_MANY_RECEIVERS,
32 MAIL_STATE_NO_RECEIVERS,
33 MAIL_STATE_USER_CANCEL,
34 MAIL_STATE_DRIVER_NOT_AVAILABLE
37 enum MailDriver
39 MAIL_DRIVER_DETECT = 0,
40 MAIL_DRIVER_BEGIN,
41 MAIL_DRIVER_VIM = MAIL_DRIVER_BEGIN,
42 MAIL_DRIVER_MAPI,
43 MAIL_DRIVER_CMC,
44 MAIL_DRIVER_SMP,
45 MAIL_DRIVER_UNIX,
46 MAIL_DRIVER_SMTP,
47 MAIL_DRIVER_END
50 enum MailPriority
52 MAIL_PRIORITY_LOW = 0,
53 MAIL_PRIORITY_NORMAL,
54 MAIL_PRIORITY_URGENT
57 enum MailReceiverRole
59 MAIL_RECEIVER_TO = 0,
60 MAIL_RECEIVER_CC,
61 MAIL_RECEIVER_BCC,
62 MAIL_RECEIVER_NEWSGROUP
65 enum MailAction
67 MAIL_ACTION_DYING, // server dies
68 MAIL_ACTION_SEND, // mail was sent
69 MAIL_ACTION_READ, // mail was marked as read
70 MAIL_ACTION_REMOVED, // mail was deleted
71 MAIL_ACTION_UPDATED, // all mails were updated
72 MAIL_ACTION_NEXT, // jump to next mail
73 MAIL_ACTION_PREV // jump to previous mail
76 #endif
78 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */