Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_UI_DIALOGS_XWIZARD_HDL
2 : : #define INCLUDED_COM_SUN_STAR_UI_DIALOGS_XWIZARD_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/RuntimeException.hdl"
7 : : #include "com/sun/star/container/NoSuchElementException.hdl"
8 : : #include "com/sun/star/util/InvalidStateException.hdl"
9 : : namespace com { namespace sun { namespace star { namespace ui { namespace dialogs { class XWizardPage; } } } } }
10 : : namespace com { namespace sun { namespace star { namespace awt { class XWindow; } } } }
11 : : #include "com/sun/star/ui/dialogs/XExecutableDialog.hdl"
12 : : #include "com/sun/star/uno/Reference.h"
13 : : #include "cppu/macros.hxx"
14 : : #include "rtl/ustring.hxx"
15 : : #include "sal/types.h"
16 : :
17 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
18 : :
19 : : namespace com { namespace sun { namespace star { namespace ui { namespace dialogs {
20 : :
21 : 0 : class SAL_NO_VTABLE XWizard : public ::com::sun::star::ui::dialogs::XExecutableDialog
22 : : {
23 : : public:
24 : :
25 : : // Attributes
26 : : virtual ::rtl::OUString SAL_CALL getHelpURL() throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setHelpURL( const ::rtl::OUString& _helpurl ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL getDialogWindow() throw (::com::sun::star::uno::RuntimeException) = 0;
29 : :
30 : : // Methods
31 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XWizardPage > SAL_CALL getCurrentPage( ) throw (::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual void SAL_CALL enableButton( ::sal_Int16 WizardButton, ::sal_Bool Enable ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL setDefaultButton( ::sal_Int16 WizardButton ) throw (::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual ::sal_Bool SAL_CALL travelNext( ) throw (::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual ::sal_Bool SAL_CALL travelPrevious( ) throw (::com::sun::star::uno::RuntimeException) = 0;
36 : : virtual void SAL_CALL enablePage( ::sal_Int16 PageID, ::sal_Bool Enable ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::util::InvalidStateException, ::com::sun::star::uno::RuntimeException) = 0;
37 : : virtual void SAL_CALL updateTravelUI( ) throw (::com::sun::star::uno::RuntimeException) = 0;
38 : : virtual ::sal_Bool SAL_CALL advanceTo( ::sal_Int16 PageId ) throw (::com::sun::star::uno::RuntimeException) = 0;
39 : : virtual ::sal_Bool SAL_CALL goBackTo( ::sal_Int16 PageId ) throw (::com::sun::star::uno::RuntimeException) = 0;
40 : : virtual void SAL_CALL activatePath( ::sal_Int16 PathIndex, ::sal_Bool Final ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::util::InvalidStateException, ::com::sun::star::uno::RuntimeException) = 0;
41 : :
42 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
43 : :
44 : : protected:
45 : 0 : ~XWizard() throw () {} // avoid warnings about virtual members and non-virtual dtor
46 : : };
47 : :
48 : :
49 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::ui::dialogs::XWizard const *);
50 : : } } } } }
51 : :
52 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XWizard > *) SAL_THROW(());
53 : :
54 : : #endif
|