Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_CONFIGURATION_BACKEND_XLAYERHANDLER_HDL
2 : #define INCLUDED_COM_SUN_STAR_CONFIGURATION_BACKEND_XLAYERHANDLER_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/configuration/backend/MalformedDataException.hdl"
7 : #include "com/sun/star/configuration/backend/TemplateIdentifier.hdl"
8 : #include "com/sun/star/lang/WrappedTargetException.hdl"
9 : #include "com/sun/star/uno/RuntimeException.hdl"
10 : #include "com/sun/star/uno/XInterface.hdl"
11 : #include "com/sun/star/uno/Any.h"
12 : #include "com/sun/star/uno/Reference.h"
13 : #include "com/sun/star/uno/Type.h"
14 : #include "cppu/macros.hxx"
15 : #include "rtl/ustring.hxx"
16 : #include "sal/types.h"
17 :
18 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
19 :
20 : namespace com { namespace sun { namespace star { namespace configuration { namespace backend {
21 :
22 : class SAL_NO_VTABLE XLayerHandler : public css::uno::XInterface
23 : {
24 : public:
25 :
26 : // Methods
27 : virtual void SAL_CALL startLayer() /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual void SAL_CALL endLayer() /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual void SAL_CALL overrideNode( const ::rtl::OUString& aName, ::sal_Int16 aAttributes, ::sal_Bool bClear ) /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual void SAL_CALL addOrReplaceNode( const ::rtl::OUString& aName, ::sal_Int16 aAttributes ) /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual void SAL_CALL addOrReplaceNodeFromTemplate( const ::rtl::OUString& aName, const css::configuration::backend::TemplateIdentifier& aTemplate, ::sal_Int16 aAttributes ) /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual void SAL_CALL endNode() /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual void SAL_CALL dropNode( const ::rtl::OUString& aName ) /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual void SAL_CALL overrideProperty( const ::rtl::OUString& aName, ::sal_Int16 aAttributes, const ::com::sun::star::uno::Type& aType, ::sal_Bool bClear ) /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
35 : virtual void SAL_CALL setPropertyValue( const ::com::sun::star::uno::Any& aValue ) /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
36 : virtual void SAL_CALL setPropertyValueForLocale( const ::com::sun::star::uno::Any& aValue, const ::rtl::OUString& aLocale ) /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
37 : virtual void SAL_CALL endProperty() /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
38 : virtual void SAL_CALL addProperty( const ::rtl::OUString& aName, ::sal_Int16 aAttributes, const ::com::sun::star::uno::Type& aType ) /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
39 : virtual void SAL_CALL addPropertyWithValue( const ::rtl::OUString& aName, ::sal_Int16 aAttributes, const ::com::sun::star::uno::Any& aValue ) /* throw (css::configuration::backend::MalformedDataException, css::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException) */ = 0;
40 :
41 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
42 :
43 : protected:
44 0 : ~XLayerHandler() throw () {} // avoid warnings about virtual members and non-virtual dtor
45 : };
46 :
47 :
48 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::configuration::backend::XLayerHandler const *);
49 : } } } } }
50 :
51 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::configuration::backend::XLayerHandler > *) SAL_THROW(());
52 :
53 : #endif
|