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 : namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResource; } } } } }
7 : #include "com/sun/star/drawing/framework/ResourceActivationMode.hdl"
8 : namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XResourceId; } } } } }
9 : #include "com/sun/star/drawing/framework/XResourceFactoryManager.hdl"
10 : #include "com/sun/star/drawing/framework/XConfigurationControllerBroadcaster.hdl"
11 : #include "com/sun/star/drawing/framework/XConfigurationControllerRequestQueue.hdl"
12 : namespace com { namespace sun { namespace star { namespace drawing { namespace framework { class XConfiguration; } } } } }
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 0 : 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 ) = 0;
27 : virtual void SAL_CALL requestResourceDeactivation( const ::com::sun::star::uno::Reference< css::drawing::framework::XResourceId >& xResourceId ) = 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 ) = 0;
29 : virtual void SAL_CALL lock() = 0;
30 : virtual void SAL_CALL unlock() = 0;
31 : virtual void SAL_CALL update() = 0;
32 : virtual ::com::sun::star::uno::Reference< css::drawing::framework::XConfiguration > SAL_CALL getRequestedConfiguration() = 0;
33 : virtual ::com::sun::star::uno::Reference< css::drawing::framework::XConfiguration > SAL_CALL getCurrentConfiguration() = 0;
34 : virtual void SAL_CALL restoreConfiguration( const ::com::sun::star::uno::Reference< css::drawing::framework::XConfiguration >& xConfiguration ) = 0;
35 :
36 : static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
37 :
38 : protected:
39 0 : ~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
|