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