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#ifndef __com_sun_star_awt_MessageBoxButtons_idl__
23#define __com_sun_star_awt_MessageBoxButtons_idl__
24
25module com {  module sun {  module star {  module awt {
26
27/** defines constants for the possible message box button
28    combinations.
29
30 */
31constants MessageBoxButtons
32{
33    /** specifies a message with "OK" button.
34     */
35    const long BUTTONS_OK                   = 1;
36
37    /** specifies a message box with "OK" and "CANCEL" button.
38     */
39    const long BUTTONS_OK_CANCEL            = 2;
40
41    /** specifies a message box with "YES" and "NO" button.
42     */
43    const long BUTTONS_YES_NO               = 3;
44
45    /** specifies a message box with "YES", "NO" and "CANCEL" button.
46     */
47    const long BUTTONS_YES_NO_CANCEL        = 4;
48
49    /** specifies a message box with "RETRY" and "CANCEL" button.
50     */
51    const long BUTTONS_RETRY_CANCEL         = 5;
52
53    /** specifies a message box with "ABORT", "IGNORE" and "RETRY" button.
54     */
55    const long BUTTONS_ABORT_IGNORE_RETRY   = 6;
56
57    /** specifies that OK is the default button.
58     */
59    const long DEFAULT_BUTTON_OK            = 0x10000;
60
61    /** specifies that CANCEL is the default button.
62     */
63    const long DEFAULT_BUTTON_CANCEL        = 0x20000;
64
65    /** specifies that RETRY is the default button.
66     */
67    const long DEFAULT_BUTTON_RETRY         = 0x30000;
68
69    /** specifies that YES is the default button.
70     */
71    const long DEFAULT_BUTTON_YES           = 0x40000;
72
73    /** specifies that NO is the default button.
74     */
75    const long DEFAULT_BUTTON_NO            = 0x50000;
76
77    /** specifies that IGNORE is the default button.
78     */
79    const long DEFAULT_BUTTON_IGNORE        = 0x60000;
80};
81
82}; }; }; };
83
84#endif
85