Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_ACCESSIBILITY_TEXTSEGMENT_HDL
2 : #define INCLUDED_COM_SUN_STAR_ACCESSIBILITY_TEXTSEGMENT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "cppu/macros.hxx"
7 : #include "rtl/ustring.hxx"
8 : #include "sal/types.h"
9 :
10 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
11 :
12 : namespace com { namespace sun { namespace star { namespace accessibility {
13 :
14 : #ifdef SAL_W32
15 : # pragma pack(push, 8)
16 : #endif
17 :
18 80 : struct TextSegment {
19 : inline TextSegment() SAL_THROW(());
20 :
21 : inline TextSegment(const ::rtl::OUString& SegmentText_, const ::sal_Int32& SegmentStart_, const ::sal_Int32& SegmentEnd_) SAL_THROW(());
22 :
23 : ::rtl::OUString SegmentText;
24 : ::sal_Int32 SegmentStart;
25 : ::sal_Int32 SegmentEnd;
26 : };
27 :
28 : #ifdef SAL_W32
29 : # pragma pack(pop)
30 : #endif
31 :
32 :
33 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::accessibility::TextSegment const *);
34 : } } } }
35 :
36 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const css::accessibility::TextSegment *) SAL_THROW(());
37 :
38 : #endif
|