xref: /aoo42x/main/offapi/com/sun/star/awt/XDialog2.idl (revision cdf0e10c)
1#ifndef __com_sun_star_awt_XDialog2_idl__
2#define __com_sun_star_awt_XDialog2_idl__
3
4#ifndef __com_sun_star_awt_XDialog_idl__
5#include <com/sun/star/awt/XDialog.idl>
6#endif
7
8
9//=============================================================================
10
11module com {  module sun {  module star {  module awt {
12
13//=============================================================================
14
15/** Makes it possible to end a dialog and set a help id.
16
17    @since OOo 3.0
18 */
19published interface XDialog2: com::sun::star::awt::XDialog
20{
21    /** hides the dialog and then causes <member>XDialog::execute</member>
22        to return with the given result value.
23     */
24    void endDialog ( [in] long Result );
25    /** sets the help id so that the standard help button action will
26        show the appropriate help page.
27    */
28    void setHelpId ( [in] string Id );
29};
30
31//=============================================================================
32
33}; }; }; };
34
35#endif
36