1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef _SFX_ARRDECL_HXX
28 #define _SFX_ARRDECL_HXX
30 #include <tools/list.hxx>
31 #include <svl/svarray.hxx>
32 #include <sfx2/minarray.hxx>
34 struct CntUpdateResult
;
36 SV_DECL_PTRARR_DEL(CntUpdateResults_Impl
, CntUpdateResult
*, 4, 4)
39 SV_DECL_PTRARR( SfxObjectShellArr_Impl
, SfxObjectShell
*, 4, 4 )
42 SV_DECL_PTRARR( SfxViewFrameArr_Impl
, SfxViewFrame
*, 4, 4 )
45 SV_DECL_PTRARR( SfxViewShellArr_Impl
, SfxViewShell
*, 4, 4 )
47 class SfxObjectFactory
;
48 typedef SfxObjectFactory
* SfxObjectFactoryPtr
;
49 SV_DECL_PTRARR( SfxObjectFactoryArr_Impl
, SfxObjectFactoryPtr
, 3, 3 )
51 struct SfxTbxCtrlFactory
;
52 SV_DECL_PTRARR_DEL( SfxTbxCtrlFactArr_Impl
, SfxTbxCtrlFactory
*, 8, 4 )
54 struct SfxStbCtrlFactory
;
55 SV_DECL_PTRARR_DEL( SfxStbCtrlFactArr_Impl
, SfxStbCtrlFactory
*, 8, 4 )
57 struct SfxMenuCtrlFactory
;
58 SV_DECL_PTRARR_DEL( SfxMenuCtrlFactArr_Impl
, SfxMenuCtrlFactory
*, 2, 2 )
60 struct SfxChildWinFactory
;
61 SV_DECL_PTRARR_DEL( SfxChildWinFactArr_Impl
, SfxChildWinFactory
*, 2, 2 )
64 SV_DECL_PTRARR( SfxModuleArr_Impl
, SfxModule
*, 2, 2 )
67 DECL_PTRARRAY( SfxFilterArr_Impl
, SfxFilter
*, 4, 4 )
70 typedef SfxFrame
* SfxFramePtr
;
71 SV_DECL_PTRARR( SfxFrameArr_Impl
, SfxFramePtr
, 4, 4 )
73 DECLARE_LIST( SfxFilterList_Impl
, SfxFilter
* )
75 struct SfxExternalLib_Impl
;
76 typedef SfxExternalLib_Impl
* SfxExternalLibPtr
;
77 SV_DECL_PTRARR_DEL( SfxExternalLibArr_Impl
, SfxExternalLibPtr
, 2, 2 )
79 //class XEventListenerRef;
80 //typedef XEventListenerRef* XEventListenerPtr;
81 //SV_DECL_PTRARR_DEL( XEventListenerArr_Impl, XEventListenerPtr, 4, 4 )
84 //typedef XFrameRef* XFramePtr;
85 //SV_DECL_PTRARR_DEL( XFrameArr_Impl, XFramePtr, 4, 4 )
88 typedef SfxSlot
* SfxSlotPtr
;
89 SV_DECL_PTRARR( SfxSlotArr_Impl
, SfxSlotPtr
, 20, 20 )