Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_SCRIPT_NATIVEOBJECTWRAPPER_HDL
2 : : #define INCLUDED_COM_SUN_STAR_SCRIPT_NATIVEOBJECTWRAPPER_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/Any.h"
7 : : #include "cppu/macros.hxx"
8 : :
9 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
10 : :
11 : : namespace com { namespace sun { namespace star { namespace script {
12 : :
13 : : #ifdef SAL_W32
14 : : # pragma pack(push, 8)
15 : : #endif
16 : :
17 : 64 : struct NativeObjectWrapper {
18 : : inline NativeObjectWrapper() SAL_THROW(());
19 : :
20 : : inline NativeObjectWrapper(const ::com::sun::star::uno::Any& ObjectId_) SAL_THROW(());
21 : :
22 : : ::com::sun::star::uno::Any ObjectId;
23 : : };
24 : :
25 : : #ifdef SAL_W32
26 : : # pragma pack(pop)
27 : : #endif
28 : :
29 : :
30 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::script::NativeObjectWrapper const *);
31 : : } } } }
32 : :
33 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::script::NativeObjectWrapper *) SAL_THROW(());
34 : :
35 : : #endif
|