Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_INSPECTION_XOBJECTINSPECTOR_HDL
2 : #define INCLUDED_COM_SUN_STAR_INSPECTION_XOBJECTINSPECTOR_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/frame/XController.hdl"
7 : #include "com/sun/star/frame/XDispatchProvider.hdl"
8 : namespace com { namespace sun { namespace star { namespace inspection { class XObjectInspectorModel; } } } }
9 : namespace com { namespace sun { namespace star { namespace inspection { class XObjectInspectorUI; } } } }
10 : #include "com/sun/star/uno/RuntimeException.hdl"
11 : namespace com { namespace sun { namespace star { namespace uno { class XInterface; } } } }
12 : #include "com/sun/star/util/VetoException.hdl"
13 : #include "com/sun/star/uno/Reference.h"
14 : #include "com/sun/star/uno/Sequence.h"
15 : #include "cppu/macros.hxx"
16 :
17 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
18 :
19 : namespace com { namespace sun { namespace star { namespace inspection {
20 :
21 2 : class SAL_NO_VTABLE XObjectInspector : public css::frame::XController, public css::frame::XDispatchProvider
22 : {
23 : public:
24 :
25 : // Attributes
26 : virtual ::com::sun::star::uno::Reference< css::inspection::XObjectInspectorModel > SAL_CALL getInspectorModel() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
27 : virtual void SAL_CALL setInspectorModel( const ::com::sun::star::uno::Reference< css::inspection::XObjectInspectorModel >& _inspectormodel ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual ::com::sun::star::uno::Reference< css::inspection::XObjectInspectorUI > SAL_CALL getInspectorUI() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 :
30 : // Methods
31 : virtual void SAL_CALL inspect( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::uno::XInterface > >& Objects ) /* throw (css::util::VetoException, ::com::sun::star::uno::RuntimeException) */ = 0;
32 :
33 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
34 :
35 : protected:
36 2 : ~XObjectInspector() throw () {} // avoid warnings about virtual members and non-virtual dtor
37 : };
38 :
39 :
40 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::inspection::XObjectInspector const *);
41 : } } } }
42 :
43 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::inspection::XObjectInspector > *) SAL_THROW(());
44 :
45 : #endif
|