blob: b0cc9c1c00db7ac12e953dda603fc57178449ab1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#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>
#include "rtl/ref.hxx"
#include "jvmaccess/virtualmachine.hxx"
class Window;
class INetURLObject;
class SvCommandList;
class Size;
#ifdef SOLAR_JAVA
struct EmbeddedWindow;
#endif // SOLAR_JAVA
struct SjApplet2_Impl {
#ifdef SOLAR_JAVA
Window * _pParentWin;
rtl::Reference<jvmaccess::VirtualMachine> _virtualMachine;
jobject _joAppletExecutionContext;
jclass _jcAppletExecutionContext;
EmbeddedWindow * _pEmbeddedWindow;
#endif // SOLAR_JAVA
SjApplet2_Impl() throw(com::sun::star::uno::RuntimeException);
~SjApplet2_Impl() throw();
void init(Window * pParentWin,
const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> & smgr,
const INetURLObject & rDocBase,
const SvCommandList & rCmdList) throw(com::sun::star::uno::RuntimeException);
void setSize(const Size & rSize) throw(com::sun::star::uno::RuntimeException);
void restart() throw(com::sun::star::uno::RuntimeException);
void reload() throw(com::sun::star::uno::RuntimeException);
void start() throw(com::sun::star::uno::RuntimeException);
void stop() throw(com::sun::star::uno::RuntimeException);
void close() throw(com::sun::star::uno::RuntimeException);
};
|