update dev300-m58
[ooovba.git] / offapi / com / sun / star / system / SimpleMailClientFlags.idl
blob95aa82fed050dada25c22169a987849a2ad850fc
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SimpleMailClientFlags.idl,v $
10 * $Revision: 1.7 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_system_SimpleMailClientFlags_idl__
32 #define __com_sun_star_system_SimpleMailClientFlags_idl__
35 module com { module sun { module star { module system {
37 //=============================================================================
38 /** These constants are used to specify how the SimpleMailClient Service
39 should behave.
42 published constants SimpleMailClientFlags
44 //---------------------------------------------------------------------
45 /** Uses the default settings when sending a mail, e.g.
46 launches the current configured system mail client.
48 const long DEFAULTS = 0;
50 //---------------------------------------------------------------------
51 /** Does not show the current configured system mail client, but sends
52 the mail without any further user interaction.
53 If this flag is specified, a recipient address must have been
54 specified for the given <type>XSimpleMailMessage</type>
55 object given to the method
56 <member scope="com::sun::star::system">XSimpleMailClient::sendSimpleMailMessage()</member>.
58 const long NO_USER_INTERFACE = 1;
60 //---------------------------------------------------------------------
61 /** No logon dialog should be displayed to prompt the user for logon
62 information if necessary.
63 When this flag is specified and the user needs to logon in order
64 to send a simple mail message via the method
65 <member scope="com::sun::star::system">XSimpleMailClient::sendSimpleMailMessage()</member>,
66 an Exception will be thrown.
68 const long NO_LOGON_DIALOG = 2;
69 };
71 //=============================================================================
73 }; }; }; };
75 #endif