Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_FORM_RUNTIME_XFORMCONTROLLER_HDL
2 : #define INCLUDED_COM_SUN_STAR_FORM_RUNTIME_XFORMCONTROLLER_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : namespace com { namespace sun { namespace star { namespace awt { class XControl; } } } }
7 : #include "com/sun/star/awt/XTabController.hdl"
8 : #include "com/sun/star/container/XChild.hdl"
9 : #include "com/sun/star/container/XEnumerationAccess.hdl"
10 : #include "com/sun/star/container/XIndexAccess.hdl"
11 : #include "com/sun/star/form/XConfirmDeleteBroadcaster.hdl"
12 : #include "com/sun/star/form/XDatabaseParameterBroadcaster2.hdl"
13 : namespace com { namespace sun { namespace star { namespace form { class XFormControllerListener; } } } }
14 : namespace com { namespace sun { namespace star { namespace form { namespace runtime { class XFormController; } } } } }
15 : namespace com { namespace sun { namespace star { namespace form { namespace runtime { class XFormControllerContext; } } } } }
16 : namespace com { namespace sun { namespace star { namespace form { namespace runtime { class XFormOperations; } } } } }
17 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
18 : #include "com/sun/star/lang/XComponent.hdl"
19 : #include "com/sun/star/sdb/XRowSetApproveBroadcaster.hdl"
20 : #include "com/sun/star/sdb/XSQLErrorBroadcaster.hdl"
21 : namespace com { namespace sun { namespace star { namespace task { class XInteractionHandler; } } } }
22 : #include "com/sun/star/uno/RuntimeException.hdl"
23 : #include "com/sun/star/util/XModeSelector.hdl"
24 : #include "com/sun/star/util/XModifyBroadcaster.hdl"
25 : #include "com/sun/star/uno/Reference.h"
26 : #include "cppu/macros.hxx"
27 :
28 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
29 :
30 : namespace com { namespace sun { namespace star { namespace form { namespace runtime {
31 :
32 72 : class SAL_NO_VTABLE XFormController : public css::awt::XTabController, public css::container::XChild, public css::container::XIndexAccess, public css::container::XEnumerationAccess, public css::lang::XComponent, public css::util::XModifyBroadcaster, public css::form::XConfirmDeleteBroadcaster, public css::sdb::XSQLErrorBroadcaster, public css::sdb::XRowSetApproveBroadcaster, public css::form::XDatabaseParameterBroadcaster2, public css::util::XModeSelector
33 : {
34 : public:
35 :
36 : // Attributes
37 : virtual ::com::sun::star::uno::Reference< css::form::runtime::XFormOperations > SAL_CALL getFormOperations() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual ::com::sun::star::uno::Reference< css::awt::XControl > SAL_CALL getCurrentControl() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual ::com::sun::star::uno::Reference< css::form::runtime::XFormControllerContext > SAL_CALL getContext() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
40 : virtual void SAL_CALL setContext( const ::com::sun::star::uno::Reference< css::form::runtime::XFormControllerContext >& _context ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
41 : virtual ::com::sun::star::uno::Reference< css::task::XInteractionHandler > SAL_CALL getInteractionHandler() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
42 : virtual void SAL_CALL setInteractionHandler( const ::com::sun::star::uno::Reference< css::task::XInteractionHandler >& _interactionhandler ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
43 :
44 : // Methods
45 : virtual void SAL_CALL addActivateListener( const ::com::sun::star::uno::Reference< css::form::XFormControllerListener >& _Listener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
46 : virtual void SAL_CALL removeActivateListener( const ::com::sun::star::uno::Reference< css::form::XFormControllerListener >& _Listener ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
47 : virtual void SAL_CALL addChildController( const ::com::sun::star::uno::Reference< css::form::runtime::XFormController >& _ChildController ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
48 :
49 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
50 :
51 : protected:
52 72 : ~XFormController() throw () {} // avoid warnings about virtual members and non-virtual dtor
53 : };
54 :
55 :
56 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::form::runtime::XFormController const *);
57 : } } } } }
58 :
59 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::form::runtime::XFormController > *) SAL_THROW(());
60 :
61 : #endif
|