1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_awt_MessageBoxButtons_idl__
24#define __com_sun_star_awt_MessageBoxButtons_idl__
25
26//=============================================================================
27
28 module com {  module sun {  module star {  module awt {
29
30//=============================================================================
31
32/** defines constants for the possible message box button
33    combinations.
34
35 */
36constants MessageBoxButtons
37{
38	//-------------------------------------------------------------------------
39
40	/** specifies a message with "OK" button.
41     */
42    const long BUTTONS_OK                   = 1;
43
44	/** specifies a message box with "OK" and "CANCEL" button.
45     */
46    const long BUTTONS_OK_CANCEL            = 2;
47
48	/** specifies a message box with "YES" and "NO" button.
49     */
50    const long BUTTONS_YES_NO               = 3;
51
52	/** specifies a message box with "YES", "NO" and "CANCEL" button.
53     */
54    const long BUTTONS_YES_NO_CANCEL        = 4;
55
56	/** specifies a message box with "RETRY" and "CANCEL" button.
57     */
58    const long BUTTONS_RETRY_CANCEL         = 5;
59
60	/** specifies a message box with "ABORT", "IGNORE" and "RETRY" button.
61     */
62    const long BUTTONS_ABORT_IGNORE_RETRY   = 6;
63
64    /** specifies that OK is the default button.
65     */
66    const long DEFAULT_BUTTON_OK            = 0x10000;
67
68	/** specifies that CANCEL is the default button.
69     */
70    const long DEFAULT_BUTTON_CANCEL        = 0x20000;
71
72	/** specifies that RETRY is the default button.
73     */
74    const long DEFAULT_BUTTON_RETRY         = 0x30000;
75
76	/** specifies that YES is the default button.
77     */
78    const long DEFAULT_BUTTON_YES           = 0x40000;
79
80	/** specifies that NO is the default button.
81     */
82    const long DEFAULT_BUTTON_NO            = 0x50000;
83
84	/** specifies that IGNORE is the default button.
85     */
86    const long DEFAULT_BUTTON_IGNORE        = 0x60000;
87};
88
89//=============================================================================
90
91}; }; }; };
92
93#endif
94