Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_BEANS_XPROPERTYSET_HDL
2 : : #define INCLUDED_COM_SUN_STAR_BEANS_XPROPERTYSET_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : namespace com { namespace sun { namespace star { namespace beans { class XPropertyChangeListener; } } } }
7 : : namespace com { namespace sun { namespace star { namespace beans { class XVetoableChangeListener; } } } }
8 : : #include "com/sun/star/lang/WrappedTargetException.hdl"
9 : : #include "com/sun/star/lang/IllegalArgumentException.hdl"
10 : : #include "com/sun/star/beans/UnknownPropertyException.hdl"
11 : : #include "com/sun/star/beans/PropertyVetoException.hdl"
12 : : #include "com/sun/star/uno/RuntimeException.hdl"
13 : : namespace com { namespace sun { namespace star { namespace beans { class XPropertySetInfo; } } } }
14 : : #include "com/sun/star/uno/XInterface.hdl"
15 : : #include "com/sun/star/uno/Any.h"
16 : : #include "com/sun/star/uno/Reference.h"
17 : : #include "cppu/macros.hxx"
18 : : #include "rtl/ustring.hxx"
19 : :
20 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
21 : :
22 : : namespace com { namespace sun { namespace star { namespace beans {
23 : :
24 : 124683 : class SAL_NO_VTABLE XPropertySet : public ::com::sun::star::uno::XInterface
25 : : {
26 : : public:
27 : :
28 : : // Methods
29 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw (::com::sun::star::uno::RuntimeException) = 0;
30 : : virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
31 : : virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
32 : : virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
34 : : virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
35 : : virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) = 0;
36 : :
37 : : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
38 : :
39 : : protected:
40 : 122456 : ~XPropertySet() throw () {} // avoid warnings about virtual members and non-virtual dtor
41 : : };
42 : :
43 : :
44 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::beans::XPropertySet const *);
45 : : } } } }
46 : :
47 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > *) SAL_THROW(());
48 : :
49 : : #endif
|