Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_DRAWING_FRAMEWORK_CONFIGURATIONCHANGEEVENT_HPP
2 : : #define INCLUDED_COM_SUN_STAR_DRAWING_FRAMEWORK_CONFIGURATIONCHANGEEVENT_HPP
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/drawing/framework/ConfigurationChangeEvent.hdl"
7 : :
8 : : #include "com/sun/star/uno/XInterface.hpp"
9 : : #include "com/sun/star/drawing/framework/XResourceId.hpp"
10 : : #include "com/sun/star/lang/EventObject.hpp"
11 : : #include "com/sun/star/drawing/framework/XConfiguration.hpp"
12 : : #include "com/sun/star/uno/Any.hxx"
13 : : #include "com/sun/star/uno/Reference.hxx"
14 : : #include "com/sun/star/uno/Type.hxx"
15 : : #include "cppu/unotype.hxx"
16 : : #include "rtl/ustring.hxx"
17 : : #include "sal/types.h"
18 : : #include "typelib/typeclass.h"
19 : : #include "typelib/typedescription.h"
20 : :
21 : : namespace com { namespace sun { namespace star { namespace drawing { namespace framework {
22 : :
23 : 3204 : inline ConfigurationChangeEvent::ConfigurationChangeEvent() SAL_THROW(())
24 : : : ::com::sun::star::lang::EventObject()
25 : : , Type()
26 : : , Configuration()
27 : : , ResourceId()
28 : : , ResourceObject()
29 : 3204 : , UserData()
30 : : {
31 : 3204 : }
32 : :
33 : : inline ConfigurationChangeEvent::ConfigurationChangeEvent(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Source_, const ::rtl::OUString& Type_, const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::framework::XConfiguration >& Configuration_, const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::framework::XResourceId >& ResourceId_, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& ResourceObject_, const ::com::sun::star::uno::Any& UserData_) SAL_THROW(())
34 : : : ::com::sun::star::lang::EventObject(Source_)
35 : : , Type(Type_)
36 : : , Configuration(Configuration_)
37 : : , ResourceId(ResourceId_)
38 : : , ResourceObject(ResourceObject_)
39 : : , UserData(UserData_)
40 : : {
41 : : }
42 : :
43 : : } } } } }
44 : :
45 : : namespace com { namespace sun { namespace star { namespace drawing { namespace framework {
46 : :
47 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::drawing::framework::ConfigurationChangeEvent const *) {
48 : : //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
49 : : static ::typelib_TypeDescriptionReference * the_type = 0;
50 : : if (the_type == 0) {
51 : : ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.drawing.framework.ConfigurationChangeEvent");
52 : : }
53 : : return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
54 : : }
55 : :
56 : : } } } } }
57 : :
58 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::drawing::framework::ConfigurationChangeEvent const *) SAL_THROW(()) {
59 : : return ::cppu::UnoType< ::com::sun::star::drawing::framework::ConfigurationChangeEvent >::get();
60 : : }
61 : :
62 : : #endif // INCLUDED_COM_SUN_STAR_DRAWING_FRAMEWORK_CONFIGURATIONCHANGEEVENT_HPP
|