update credits
[LibreOffice.git] / include / svl / mailenum.hxx
bloba01c6bc109edbf43cfc6ab097103a91c846c91a2
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 _MAILENUM_HXX
20 #define _MAILENUM_HXX
22 // enum ------------------------------------------------------------------
24 enum MailState
26 MAIL_STATE_SUCCESS = 0,
27 MAIL_STATE_FAILURE,
28 MAIL_STATE_ATTACHED_NOT_FOUND,
29 MAIL_STATE_NO_MEMORY,
30 MAIL_STATE_LOGIN_FAILURE,
31 MAIL_STATE_RECEIVER_NOT_FOUND,
32 MAIL_STATE_TOO_MANY_FILES,
33 MAIL_STATE_TOO_MANY_RECEIVERS,
34 MAIL_STATE_NO_RECEIVERS,
35 MAIL_STATE_USER_CANCEL,
36 MAIL_STATE_DRIVER_NOT_AVAILABLE
39 enum MailDriver
41 MAIL_DRIVER_DETECT = 0,
42 MAIL_DRIVER_BEGIN,
43 MAIL_DRIVER_VIM = MAIL_DRIVER_BEGIN,
44 MAIL_DRIVER_MAPI,
45 MAIL_DRIVER_CMC,
46 MAIL_DRIVER_SMP,
47 MAIL_DRIVER_UNIX,
48 MAIL_DRIVER_SMTP,
49 MAIL_DRIVER_END
52 enum MailPriority
54 MAIL_PRIORITY_LOW = 0,
55 MAIL_PRIORITY_NORMAL,
56 MAIL_PRIORITY_URGENT
59 enum MailReceiverRole
61 MAIL_RECEIVER_TO = 0,
62 MAIL_RECEIVER_CC,
63 MAIL_RECEIVER_BCC,
64 MAIL_RECEIVER_NEWSGROUP
67 enum MailAction
69 MAIL_ACTION_DYING, // Server stirbt
70 MAIL_ACTION_SEND, // Mail wurde versendet
71 MAIL_ACTION_READ, // Mail wurde als gelesen gekennzeichnet
72 MAIL_ACTION_REMOVED, // Mail wurde gel"oscht
73 MAIL_ACTION_UPDATED, // alle Mails wurden neu eingelesen
74 MAIL_ACTION_NEXT, // Sprung zur n"achsten Mail
75 MAIL_ACTION_PREV // Sprung zur vorherigen Mail
78 // Textformat zum Versenden von Nachrichten ------------------------------
80 #define TXTFORMAT_ASCII ((sal_uInt8)0x01)
81 #define TXTFORMAT_HTML ((sal_uInt8)0x02)
82 #define TXTFORMAT_RTF ((sal_uInt8)0x04)
83 #define TXTFORMAT_OFFICE ((sal_uInt8)0x08)
86 #endif
88 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */