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