Branch data 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 : 130 : class SAL_NO_VTABLE XConfigurationController : public ::com::sun::star::drawing::framework::XConfigurationControllerRequestQueue, public ::com::sun::star::drawing::framework::XConfigurationControllerBroadcaster, public ::com::sun::star::drawing::framework::XResourceFactoryManager
22 : : {
23 : : public:
24 : :
25 : : // Methods
26 : : virtual void SAL_CALL requestResourceActivation( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::framework::XResourceId >& xResourceId, ::com::sun::star::drawing::framework::ResourceActivationMode eMode ) throw (::com::sun::star::uno::RuntimeException) = 0;
27 : : virtual void SAL_CALL requestResourceDeactivation( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::framework::XResourceId >& xResourceId ) throw (::com::sun::star::uno::RuntimeException) = 0;
28 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::framework::XResource > SAL_CALL getResource( const ::com::sun::star::uno::Reference< ::com::sun::star::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< ::com::sun::star::drawing::framework::XConfiguration > SAL_CALL getRequestedConfiguration( ) throw (::com::sun::star::uno::RuntimeException) = 0;
33 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::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< ::com::sun::star::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 : 130 : ~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 ::com::sun::star::drawing::framework::XConfigurationController const *);
44 : : } } } } }
45 : :
46 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::framework::XConfigurationController > *) SAL_THROW(());
47 : :
48 : : #endif
|