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