Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLETABLEMODELCHANGE_HPP
2 : #define INCLUDED_COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLETABLEMODELCHANGE_HPP
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/accessibility/AccessibleTableModelChange.hdl"
7 :
8 : #include "com/sun/star/uno/Type.hxx"
9 : #include "cppu/unotype.hxx"
10 : #include "sal/types.h"
11 : #include "typelib/typeclass.h"
12 : #include "typelib/typedescription.h"
13 :
14 : namespace com { namespace sun { namespace star { namespace accessibility {
15 :
16 11 : inline AccessibleTableModelChange::AccessibleTableModelChange() SAL_THROW(())
17 : : Type(0)
18 : , FirstRow(0)
19 : , LastRow(0)
20 : , FirstColumn(0)
21 11 : , LastColumn(0)
22 : {
23 11 : }
24 :
25 0 : inline AccessibleTableModelChange::AccessibleTableModelChange(const ::sal_Int16& Type_, const ::sal_Int32& FirstRow_, const ::sal_Int32& LastRow_, const ::sal_Int32& FirstColumn_, const ::sal_Int32& LastColumn_) SAL_THROW(())
26 : : Type(Type_)
27 : , FirstRow(FirstRow_)
28 : , LastRow(LastRow_)
29 : , FirstColumn(FirstColumn_)
30 0 : , LastColumn(LastColumn_)
31 : {
32 0 : }
33 :
34 : } } } }
35 :
36 : namespace com { namespace sun { namespace star { namespace accessibility {
37 :
38 11 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::accessibility::AccessibleTableModelChange const *) {
39 : //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
40 : static ::typelib_TypeDescriptionReference * the_type = 0;
41 11 : if (the_type == 0) {
42 1 : ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.accessibility.AccessibleTableModelChange");
43 : }
44 11 : return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
45 : }
46 :
47 : } } } }
48 :
49 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::accessibility::AccessibleTableModelChange const *) SAL_THROW(()) {
50 : return ::cppu::UnoType< css::accessibility::AccessibleTableModelChange >::get();
51 : }
52 :
53 : #endif // INCLUDED_COM_SUN_STAR_ACCESSIBILITY_ACCESSIBLETABLEMODELCHANGE_HPP
|