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