Line data Source code
1 : #ifndef INCLUDED_TEST_TESTTOOLS_BRIDGETEST_TESTPOLYSTRUCT_HDL
2 : #define INCLUDED_TEST_TESTTOOLS_BRIDGETEST_TESTPOLYSTRUCT_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "cppu/macros.hxx"
7 :
8 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
9 :
10 : namespace test { namespace testtools { namespace bridgetest {
11 :
12 : #ifdef SAL_W32
13 : # pragma pack(push, 8)
14 : #endif
15 :
16 85 : template< typename typeparam_T > struct TestPolyStruct {
17 : inline TestPolyStruct() SAL_THROW(());
18 :
19 : inline TestPolyStruct(typeparam_T const & member_) SAL_THROW(());
20 :
21 : typeparam_T member;
22 : };
23 :
24 : #ifdef SAL_W32
25 : # pragma pack(pop)
26 : #endif
27 :
28 : } } }
29 :
30 : template< typename typeparam_T > inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::test::testtools::bridgetest::TestPolyStruct< typeparam_T > *) SAL_THROW(());
31 :
32 : #endif
|