summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/inc
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2001-05-30 10:15:34 +0000
committerPhilipp Lohmann <pl@openoffice.org>2001-05-30 10:15:34 +0000
commit24e1def1acac42662fd3d05800e3133479fed162 (patch)
tree2f832d2335372b070b5912a6ce31c69c942c6c60 /extensions/source/plugin/inc
parenta214a93b58257d0dc63f2923633f258ded4cd1a7 (diff)
#79029# #87573# #83080# access plugins only in solar thread on windows
Diffstat (limited to 'extensions/source/plugin/inc')
-rw-r--r--extensions/source/plugin/inc/plugin/win/sysplug.hxx35
1 files changed, 30 insertions, 5 deletions
diff --git a/extensions/source/plugin/inc/plugin/win/sysplug.hxx b/extensions/source/plugin/inc/plugin/win/sysplug.hxx
index 6aeccf7549c5..3704ecb62765 100644
--- a/extensions/source/plugin/inc/plugin/win/sysplug.hxx
+++ b/extensions/source/plugin/inc/plugin/win/sysplug.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sysplug.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dbo $ $Date: 2001-02-02 14:37:04 $
+ * last change: $Author: pl $ $Date: 2001-05-30 11:15:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -80,12 +80,37 @@
#pragma pack( pop, 8 )
#include <plugin/plcom.hxx>
-
+#include <vcl/threadex.hxx>
//==================================================================================================
-class PluginComm_Impl
- : public PluginComm
+class PluginComm_Impl :
+ public PluginComm,
+ public ::vcl::SolarThreadExecutor
+
{
+ enum CallType {
+ eNPP_Destroy,
+ eNPP_DestroyStream,
+ eNPP_GetJavaClass,
+ eNPP_Initialize,
+ eNPP_New,
+ eNPP_NewStream,
+ eNPP_Print,
+ eNPP_SetWindow,
+ eNPP_Shutdown,
+ eNPP_StreamAsFile,
+ eNPP_URLNotify,
+ eNPP_Write,
+ eNPP_WriteReady,
+ eNPP_GetValue,
+ eNPP_SetValue,
+ eNP_Initialize
+ };
+
+ void* m_aArgs[ 8 ];
+ CallType m_eCall;
+
+ virtual long doIt();
public:
PluginComm_Impl( const rtl::OUString& rMIME, const rtl::OUString& rName, HWND hWnd );
virtual ~PluginComm_Impl();