Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_BEANS_XINTROSPECTIONACCESS_HDL
2 : #define INCLUDED_COM_SUN_STAR_BEANS_XINTROSPECTIONACCESS_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/beans/IllegalTypeException.hdl"
7 : #include "com/sun/star/lang/NoSuchMethodException.hdl"
8 : #include "com/sun/star/uno/RuntimeException.hdl"
9 : namespace com { namespace sun { namespace star { namespace reflection { class XIdlMethod; } } } }
10 : #include "com/sun/star/container/NoSuchElementException.hdl"
11 : #include "com/sun/star/beans/Property.hdl"
12 : #include "com/sun/star/uno/XInterface.hdl"
13 : #include "com/sun/star/uno/Reference.h"
14 : #include "com/sun/star/uno/Sequence.h"
15 : #include "com/sun/star/uno/Type.h"
16 : #include "cppu/macros.hxx"
17 : #include "rtl/ustring.hxx"
18 : #include "sal/types.h"
19 :
20 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
21 :
22 : namespace com { namespace sun { namespace star { namespace beans {
23 :
24 377 : class SAL_NO_VTABLE XIntrospectionAccess : public css::uno::XInterface
25 : {
26 : public:
27 :
28 : // Methods
29 : virtual ::sal_Int32 SAL_CALL getSuppliedMethodConcepts() = 0;
30 : virtual ::sal_Int32 SAL_CALL getSuppliedPropertyConcepts() = 0;
31 : virtual css::beans::Property SAL_CALL getProperty( const ::rtl::OUString& aName, ::sal_Int32 nPropertyConcepts ) = 0;
32 : virtual ::sal_Bool SAL_CALL hasProperty( const ::rtl::OUString& aName, ::sal_Int32 nPropertyConcepts ) = 0;
33 : virtual ::com::sun::star::uno::Sequence< css::beans::Property > SAL_CALL getProperties( ::sal_Int32 nPropertyConcepts ) = 0;
34 : virtual ::com::sun::star::uno::Reference< css::reflection::XIdlMethod > SAL_CALL getMethod( const ::rtl::OUString& aName, ::sal_Int32 nMethodConcepts ) = 0;
35 : virtual ::sal_Bool SAL_CALL hasMethod( const ::rtl::OUString& aName, ::sal_Int32 nMethodConcepts ) = 0;
36 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::reflection::XIdlMethod > > SAL_CALL getMethods( ::sal_Int32 nMethodConcepts ) = 0;
37 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getSupportedListeners() = 0;
38 : virtual ::com::sun::star::uno::Reference< css::uno::XInterface > SAL_CALL queryAdapter( const ::com::sun::star::uno::Type& aInterfaceType ) = 0;
39 :
40 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
41 :
42 : protected:
43 361 : ~XIntrospectionAccess() throw () {} // avoid warnings about virtual members and non-virtual dtor
44 : };
45 :
46 :
47 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::beans::XIntrospectionAccess const *);
48 : } } } }
49 :
50 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::beans::XIntrospectionAccess > *) SAL_THROW(());
51 :
52 : #endif
|