Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_BEANS_XPROPERTYCONTAINER_HDL
2 : #define INCLUDED_COM_SUN_STAR_BEANS_XPROPERTYCONTAINER_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
7 : #include "com/sun/star/beans/IllegalTypeException.hdl"
8 : #include "com/sun/star/beans/PropertyExistException.hdl"
9 : #include "com/sun/star/beans/UnknownPropertyException.hdl"
10 : #include "com/sun/star/uno/RuntimeException.hdl"
11 : #include "com/sun/star/uno/XInterface.hdl"
12 : #include "com/sun/star/beans/NotRemoveableException.hdl"
13 : #include "com/sun/star/uno/Any.h"
14 : #include "com/sun/star/uno/Reference.h"
15 : #include "cppu/macros.hxx"
16 : #include "rtl/ustring.hxx"
17 : #include "sal/types.h"
18 :
19 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
20 :
21 : namespace com { namespace sun { namespace star { namespace beans {
22 :
23 8172 : class SAL_NO_VTABLE XPropertyContainer : public css::uno::XInterface
24 : {
25 : public:
26 :
27 : // Methods
28 : virtual void SAL_CALL addProperty( const ::rtl::OUString& Name, ::sal_Int16 Attributes, const ::com::sun::star::uno::Any& DefaultValue ) = 0;
29 : virtual void SAL_CALL removeProperty( const ::rtl::OUString& Name ) = 0;
30 :
31 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
32 :
33 : protected:
34 7842 : ~XPropertyContainer() throw () {} // avoid warnings about virtual members and non-virtual dtor
35 : };
36 :
37 :
38 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::beans::XPropertyContainer const *);
39 : } } } }
40 :
41 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::beans::XPropertyContainer > *) SAL_THROW(());
42 :
43 : #endif
|