Branch data 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/util/VetoException.hdl"
7 : : namespace com { namespace sun { namespace star { namespace uno { class XInterface; } } } }
8 : : namespace com { namespace sun { namespace star { namespace inspection { class XObjectInspectorUI; } } } }
9 : : namespace com { namespace sun { namespace star { namespace inspection { class XObjectInspectorModel; } } } }
10 : : #include "com/sun/star/uno/RuntimeException.hdl"
11 : : #include "com/sun/star/frame/XDispatchProvider.hdl"
12 : : #include "com/sun/star/frame/XController.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 : 0 : class SAL_NO_VTABLE XObjectInspector : public ::com::sun::star::frame::XController, public ::com::sun::star::frame::XDispatchProvider
22 : : {
23 : : public:
24 : :
25 : : // Attributes
26 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XObjectInspectorModel > SAL_CALL getInspectorModel() throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL setInspectorModel( const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XObjectInspectorModel >& _inspectormodel ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::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< ::com::sun::star::uno::XInterface > >& Objects ) throw (::com::sun::star::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 : 0 : ~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 ::com::sun::star::inspection::XObjectInspector const *);
41 : : } } } }
42 : :
43 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XObjectInspector > *) SAL_THROW(());
44 : :
45 : : #endif
|