xref: /aoo41x/main/offapi/com/sun/star/awt/XMessageBox.idl (revision 61161268)
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_XMessageBox_idl__
23*61161268SAriel Constenla-Haile#define __com_sun_star_awt_XMessageBox_idl__
24d1766043SAndrew Rist
25*61161268SAriel Constenla-Haile#include <com/sun/star/uno/XInterface.idl>
26cdf0e10cSrcweir
27*61161268SAriel Constenla-Hailemodule com {  module sun {  module star {  module awt {
28cdf0e10cSrcweir
29*61161268SAriel Constenla-Haile/** gives access to a message box.
30*61161268SAriel Constenla-Haile */
31*61161268SAriel Constenla-Hailepublished interface XMessageBox
32*61161268SAriel Constenla-Haile{
33*61161268SAriel Constenla-Haile    /** the caption text.
34cdf0e10cSrcweir     */
35*61161268SAriel Constenla-Haile    [attribute] string CaptionText;
36cdf0e10cSrcweir
37*61161268SAriel Constenla-Haile    /** the message text.
38cdf0e10cSrcweir     */
39*61161268SAriel Constenla-Haile    [attribute] string MessageText;
40cdf0e10cSrcweir
41*61161268SAriel Constenla-Haile    /** shows the message box.
42cdf0e10cSrcweir
43*61161268SAriel Constenla-Haile        @return
44*61161268SAriel Constenla-Haile            one of <type>MessageBoxResults</type>.
45cdf0e10cSrcweir     */
46*61161268SAriel Constenla-Haile    short execute();
47*61161268SAriel Constenla-Haile};
48cdf0e10cSrcweir
49*61161268SAriel Constenla-Haile}; }; }; };
50*61161268SAriel Constenla-Haile
51*61161268SAriel Constenla-Haile#endif
52