1*ae77b8caSAriel Constenla-Haile/**************************************************************
2*ae77b8caSAriel Constenla-Haile *
3*ae77b8caSAriel Constenla-Haile * Licensed to the Apache Software Foundation (ASF) under one
4*ae77b8caSAriel Constenla-Haile * or more contributor license agreements.  See the NOTICE file
5*ae77b8caSAriel Constenla-Haile * distributed with this work for additional information
6*ae77b8caSAriel Constenla-Haile * regarding copyright ownership.  The ASF licenses this file
7*ae77b8caSAriel Constenla-Haile * to you under the Apache License, Version 2.0 (the
8*ae77b8caSAriel Constenla-Haile * "License"); you may not use this file except in compliance
9*ae77b8caSAriel Constenla-Haile * with the License.  You may obtain a copy of the License at
10*ae77b8caSAriel Constenla-Haile *
11*ae77b8caSAriel Constenla-Haile *   http://www.apache.org/licenses/LICENSE-2.0
12*ae77b8caSAriel Constenla-Haile *
13*ae77b8caSAriel Constenla-Haile * Unless required by applicable law or agreed to in writing,
14*ae77b8caSAriel Constenla-Haile * software distributed under the License is distributed on an
15*ae77b8caSAriel Constenla-Haile * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*ae77b8caSAriel Constenla-Haile * KIND, either express or implied.  See the License for the
17*ae77b8caSAriel Constenla-Haile * specific language governing permissions and limitations
18*ae77b8caSAriel Constenla-Haile * under the License.
19*ae77b8caSAriel Constenla-Haile *
20*ae77b8caSAriel Constenla-Haile *************************************************************/
21*ae77b8caSAriel Constenla-Haile
22*ae77b8caSAriel Constenla-Haile#ifndef __com_sun_star_system_MailClientFlags_idl__
23*ae77b8caSAriel Constenla-Haile#define __com_sun_star_system_MailClientFlags_idl__
24*ae77b8caSAriel Constenla-Haile
25*ae77b8caSAriel Constenla-Hailemodule com { module sun { module star { module system {
26*ae77b8caSAriel Constenla-Haile
27*ae77b8caSAriel Constenla-Haile/**  These constants are used to specify how the <type>XMailClient</type>
28*ae77b8caSAriel Constenla-Haile     should behave.
29*ae77b8caSAriel Constenla-Haile */
30*ae77b8caSAriel Constenla-Haileconstants MailClientFlags
31*ae77b8caSAriel Constenla-Haile{
32*ae77b8caSAriel Constenla-Haile    /** Uses the default settings when sending a mail, e.g.
33*ae77b8caSAriel Constenla-Haile        launches the current configured system mail client.
34*ae77b8caSAriel Constenla-Haile    */
35*ae77b8caSAriel Constenla-Haile    const long DEFAULTS = 0;
36*ae77b8caSAriel Constenla-Haile
37*ae77b8caSAriel Constenla-Haile    /** Does not show the current configured system mail client GUI, but sends
38*ae77b8caSAriel Constenla-Haile        the mail without any further user interaction.
39*ae77b8caSAriel Constenla-Haile        <p>If this flag is specified, a recipient address must have been
40*ae77b8caSAriel Constenla-Haile        specified for the given <type>XMailMessage</type>
41*ae77b8caSAriel Constenla-Haile        object given to the method
42*ae77b8caSAriel Constenla-Haile        <member scope="com::sun::star::system">XMailClient::sendMailMessage()</member>.</p>
43*ae77b8caSAriel Constenla-Haile    */
44*ae77b8caSAriel Constenla-Haile    const long NO_USER_INTERFACE = 1;
45*ae77b8caSAriel Constenla-Haile
46*ae77b8caSAriel Constenla-Haile    /** No logon dialog should be displayed to prompt the user for logon
47*ae77b8caSAriel Constenla-Haile        information if necessary.
48*ae77b8caSAriel Constenla-Haile        <p>When this flag is specified and the user needs to logon in order
49*ae77b8caSAriel Constenla-Haile        to send a mail message via the method
50*ae77b8caSAriel Constenla-Haile        <member scope="com::sun::star::system">XMailClient::sendMailMessage()</member>,
51*ae77b8caSAriel Constenla-Haile        an <type scope="com::sun::star::uno">Exception</type> will be thrown.</p>
52*ae77b8caSAriel Constenla-Haile    */
53*ae77b8caSAriel Constenla-Haile    const long NO_LOGON_DIALOG = 2;
54*ae77b8caSAriel Constenla-Haile};
55*ae77b8caSAriel Constenla-Haile
56*ae77b8caSAriel Constenla-Haile}; }; }; };
57*ae77b8caSAriel Constenla-Haile
58*ae77b8caSAriel Constenla-Haile#endif
59