diff options
Diffstat (limited to 'sj2/source')
-rw-r--r-- | sj2/source/jscpp/sjapplet_impl.hxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sj2/source/jscpp/sjapplet_impl.hxx b/sj2/source/jscpp/sjapplet_impl.hxx index 11a70c482dc1..b8e884a0453e 100644 --- a/sj2/source/jscpp/sjapplet_impl.hxx +++ b/sj2/source/jscpp/sjapplet_impl.hxx @@ -1,13 +1,15 @@ #include <cstdarg> - +#ifdef SOLAR_JAVA #include <jni.h> - +#endif // SOLAR_JAVA #include <unotools/processfactory.hxx> +#ifdef SOLAR_JAVA #include <com/sun/star/java/XJavaVM.hpp> #include <com/sun/star/java/XJavaThreadRegister_11.hpp> +#endif // SOLAR_JAVA #include <com/sun/star/lang/XMultiServiceFactory.hpp> @@ -16,9 +18,12 @@ class INetURLObject; class SvCommandList; class Size; +#ifdef SOLAR_JAVA struct EmbeddedWindow; +#endif // SOLAR_JAVA struct SjApplet2_Impl { +#ifdef SOLAR_JAVA Window * _pParentWin; JavaVM * _pJVM; @@ -29,6 +34,7 @@ struct SjApplet2_Impl { com::sun::star::uno::Reference<com::sun::star::java::XJavaVM> _xJavaVM; com::sun::star::uno::Reference<com::sun::star::java::XJavaThreadRegister_11> _xJavaThreadRegister_11; +#endif // SOLAR_JAVA SjApplet2_Impl() throw(com::sun::star::uno::RuntimeException); ~SjApplet2_Impl() throw(); |