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