1*cdf0e10cSrcweir #ifndef __SAMPLELIB_HXX_ 2*cdf0e10cSrcweir #define __SAMPLELIB_HXX_ 3*cdf0e10cSrcweir 4*cdf0e10cSrcweir #include <sal/types.h> 5*cdf0e10cSrcweir 6*cdf0e10cSrcweir struct SampleLib_Api 7*cdf0e10cSrcweir { 8*cdf0e10cSrcweir sal_Int32 (SAL_CALL *funcA)( sal_Int32 ); 9*cdf0e10cSrcweir double (SAL_CALL *funcB)( double ); 10*cdf0e10cSrcweir }; 11*cdf0e10cSrcweir 12*cdf0e10cSrcweir 13*cdf0e10cSrcweir typedef SampleLib_Api* (SAL_CALL *InitSampleLib_Api)(void); 14*cdf0e10cSrcweir 15*cdf0e10cSrcweir #define SAMPLELIB_INIT_FUNCTION_NAME "initSampleLibApi" 16*cdf0e10cSrcweir 17*cdf0e10cSrcweir 18*cdf0e10cSrcweir sal_Int32 SAL_CALL funcA( sal_Int32 a); 19*cdf0e10cSrcweir double SAL_CALL funcB( double a); 20*cdf0e10cSrcweir 21*cdf0e10cSrcweir 22*cdf0e10cSrcweir #endif 23