Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_DRAWING_FRAMEWORK_XCONFIGURATIONCONTROLLER_HDL
2 : #define INCLUDED_COM_SUN_STAR_DRAWING_FRAMEWORK_XCONFIGURATIONCONTROLLER_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/drawing/framework/ResourceActivationMode.hdl"
7 : namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfiguration; } } } } }
8 : #include "com/sun/star/drawing/framework/XConfigurationControllerBroadcaster.hdl"
9 : #include "com/sun/star/drawing/framework/XConfigurationControllerRequestQueue.hdl"
10 : namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResource; } } } } }
11 : #include "com/sun/star/drawing/framework/XResourceFactoryManager.hdl"
12 : namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResourceId; } } } } }
13 : #include "com/sun/star/uno/RuntimeException.hdl"
14 : #include "com/sun/star/uno/Reference.h"
15 : #include "cppu/macros.hxx"
16 :
17 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
18 :
19 : namespace com { namespace sun { namespace star { namespace drawing { namespace framework {
20 :
21 65 : class SAL_NO_VTABLE XConfigurationController : public css::drawing::framework::XConfigurationControllerRequestQueue, public css::drawing::framework::XConfigurationControllerBroadcaster, public css::drawing::framework::XResourceFactoryManager
22 : {
23 : public:
24 :
25 : // Methods
26 : virtual void SAL_CALL requestResourceActivation( const ::com::sun::star::uno::Reference< css::drawing::framework::XResourceId >& xResourceId, css::drawing::framework::ResourceActivationMode eMode ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
27 : virtual void SAL_CALL requestResourceDeactivation( const ::com::sun::star::uno::Reference< css::drawing::framework::XResourceId >& xResourceId ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
28 : virtual ::com::sun::star::uno::Reference< css::drawing::framework::XResource > SAL_CALL getResource( const ::com::sun::star::uno::Reference< css::drawing::framework::XResourceId >& xResourceId ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
29 : virtual void SAL_CALL lock() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
30 : virtual void SAL_CALL unlock() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
31 : virtual void SAL_CALL update() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
32 : virtual ::com::sun::star::uno::Reference< css::drawing::framework::XConfiguration > SAL_CALL getRequestedConfiguration() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
33 : virtual ::com::sun::star::uno::Reference< css::drawing::framework::XConfiguration > SAL_CALL getCurrentConfiguration() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
34 : virtual void SAL_CALL restoreConfiguration( const ::com::sun::star::uno::Reference< css::drawing::framework::XConfiguration >& xConfiguration ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
35 :
36 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
37 :
38 : protected:
39 65 : ~XConfigurationController() throw () {} // avoid warnings about virtual members and non-virtual dtor
40 : };
41 :
42 :
43 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::drawing::framework::XConfigurationController const *);
44 : } } } } }
45 :
46 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::drawing::framework::XConfigurationController > *) SAL_THROW(());
47 :
48 : #endif
|