Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_UI_XUICONFIGURATIONMANAGER_HDL
2 : #define INCLUDED_COM_SUN_STAR_UI_XUICONFIGURATIONMANAGER_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/uno/RuntimeException.hdl"
7 : namespace com { namespace sun { namespace star { namespace container { class XIndexAccess; } } } }
8 : namespace com { namespace sun { namespace star { namespace container { class XIndexContainer; } } } }
9 : #include "com/sun/star/container/NoSuchElementException.hdl"
10 : #include "com/sun/star/beans/PropertyValue.hdl"
11 : #include "com/sun/star/lang/IllegalArgumentException.hdl"
12 : #include "com/sun/star/lang/IllegalAccessException.hdl"
13 : #include "com/sun/star/uno/XInterface.hdl"
14 : #include "com/sun/star/container/ElementExistException.hdl"
15 : #include "com/sun/star/uno/Reference.h"
16 : #include "com/sun/star/uno/Sequence.h"
17 : #include "cppu/macros.hxx"
18 : #include "rtl/ustring.hxx"
19 : #include "sal/types.h"
20 :
21 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
22 :
23 : namespace com { namespace sun { namespace star { namespace ui {
24 :
25 391 : class SAL_NO_VTABLE XUIConfigurationManager : public css::uno::XInterface
26 : {
27 : public:
28 :
29 : // Methods
30 : virtual void SAL_CALL reset() = 0;
31 : virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< css::beans::PropertyValue > > SAL_CALL getUIElementsInfo( ::sal_Int16 ElementType ) = 0;
32 : virtual ::com::sun::star::uno::Reference< css::container::XIndexContainer > SAL_CALL createSettings() = 0;
33 : virtual ::sal_Bool SAL_CALL hasSettings( const ::rtl::OUString& ResourceURL ) = 0;
34 : virtual ::com::sun::star::uno::Reference< css::container::XIndexAccess > SAL_CALL getSettings( const ::rtl::OUString& ResourceURL, ::sal_Bool bWriteable ) = 0;
35 : virtual void SAL_CALL replaceSettings( const ::rtl::OUString& ResourceURL, const ::com::sun::star::uno::Reference< css::container::XIndexAccess >& aNewData ) = 0;
36 : virtual void SAL_CALL removeSettings( const ::rtl::OUString& ResourceURL ) = 0;
37 : virtual void SAL_CALL insertSettings( const ::rtl::OUString& NewResourceURL, const ::com::sun::star::uno::Reference< css::container::XIndexAccess >& aNewData ) = 0;
38 : virtual ::com::sun::star::uno::Reference< css::uno::XInterface > SAL_CALL getImageManager() = 0;
39 : virtual ::com::sun::star::uno::Reference< css::uno::XInterface > SAL_CALL getShortCutManager() = 0;
40 : virtual ::com::sun::star::uno::Reference< css::uno::XInterface > SAL_CALL getEventsManager() = 0;
41 :
42 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
43 :
44 : protected:
45 166 : ~XUIConfigurationManager() throw () {} // avoid warnings about virtual members and non-virtual dtor
46 : };
47 :
48 :
49 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::ui::XUIConfigurationManager const *);
50 : } } } }
51 :
52 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::ui::XUIConfigurationManager > *) SAL_THROW(());
53 :
54 : #endif
|