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