1 | #ifndef INCLUDED_COM_SUN_STAR_LANG_LOCALE_HDL |
---|---|
2 | #define INCLUDED_COM_SUN_STAR_LANG_LOCALE_HDL |
3 | |
4 | #include "sal/config.h" |
5 | |
6 | #include "cppu/macros.hxx" |
7 | #include "rtl/ustring.hxx" |
8 | |
9 | namespace com { namespace sun { namespace star { namespace uno { class Type; } } } } |
10 | |
11 | namespace com { namespace sun { namespace star { namespace lang { |
12 | |
13 | #ifdef SAL_W32 |
14 | # pragma pack(push, 8) |
15 | #endif |
16 | |
17 | struct Locale { |
18 | inline Locale() SAL_THROW(()); |
19 | |
20 | inline Locale(const ::rtl::OUString& Language_, const ::rtl::OUString& Country_, const ::rtl::OUString& Variant_) SAL_THROW(()); |
21 | |
22 | ::rtl::OUString Language; |
23 | ::rtl::OUString Country; |
24 | ::rtl::OUString Variant; |
25 | }; |
26 | |
27 | #ifdef SAL_W32 |
28 | # pragma pack(pop) |
29 | #endif |
30 | |
31 | |
32 | inline ::css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::css::lang::Locale const *); |
33 | } } } } |
34 | |
35 | inline ::css::uno::Type const & SAL_CALL getCppuType(const ::css::lang::Locale *) SAL_THROW(()); |
36 | |
37 | #endif |
38 |