summaryrefslogtreecommitdiff
path: root/sfx2/source/view/viewimp.hxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-12-07 13:48:45 +0000
committerMathias Bauer <mba@openoffice.org>2001-12-07 13:48:45 +0000
commit1cf0e949f721c8211bf035643729eb6bf5fa51ad (patch)
treed1ddf0af19f82223204a0031dfac7a9a9131a3ba /sfx2/source/view/viewimp.hxx
parent181fe793faeb9b133cdb282890cbfbe40755fc44 (diff)
#93782#: intercept context menues
Diffstat (limited to 'sfx2/source/view/viewimp.hxx')
-rw-r--r--sfx2/source/view/viewimp.hxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/sfx2/source/view/viewimp.hxx b/sfx2/source/view/viewimp.hxx
index 154d0b124b01..fea3324403c3 100644
--- a/sfx2/source/view/viewimp.hxx
+++ b/sfx2/source/view/viewimp.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: viewimp.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: mba $ $Date: 2001-03-30 15:59:24 $
+ * last change: $Author: mba $ $Date: 2001-12-07 14:48:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -69,6 +69,11 @@
#endif
#include "viewsh.hxx"
+#include <osl/mutex.hxx>
+#ifndef _CPPUHELPER_INTERFACECONTAINER_HXX_
+#include <cppuhelper/interfacecontainer.hxx>
+#endif
+
// forward ---------------------------------------------------------------
class SfxFrameSetDescriptor;
@@ -96,6 +101,8 @@ SV_DECL_PTRARR( SfxOffDispArr_Impl, SfxOffDispPtr_Impl, 4, 4 );
struct SfxViewShell_Impl
{
+ ::osl::Mutex aMutex;
+ ::cppu::OInterfaceContainerHelper aInterceptorContainer;
BOOL bControllerSet;
SfxShellArr_Impl aArr;
ModelessDialogPtrArr_Impl aDialogArr;
@@ -119,6 +126,10 @@ struct SfxViewShell_Impl
SfxAcceleratorManager* pAccel;
USHORT nFamily;
SfxBaseController* pController;
+
+ SfxViewShell_Impl()
+ : aInterceptorContainer( aMutex )
+ {}
};