xref: /aoo41x/main/sfx2/inc/arrdecl.hxx (revision cdf0e10c)
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
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.
14  *
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).
20  *
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.
25  *
26  ************************************************************************/
27 #ifndef _SFX_ARRDECL_HXX
28 #define _SFX_ARRDECL_HXX
29 
30 #include <tools/list.hxx>
31 #include <svl/svarray.hxx>
32 #include <sfx2/minarray.hxx>
33 
34 struct CntUpdateResult;
35 
36 SV_DECL_PTRARR_DEL(CntUpdateResults_Impl, CntUpdateResult*, 4, 4)
37 
38 class SfxObjectShell;
39 SV_DECL_PTRARR( SfxObjectShellArr_Impl, SfxObjectShell*, 4, 4 )
40 
41 class SfxViewFrame;
42 SV_DECL_PTRARR( SfxViewFrameArr_Impl, SfxViewFrame*, 4, 4 )
43 
44 class SfxViewShell;
45 SV_DECL_PTRARR( SfxViewShellArr_Impl, SfxViewShell*, 4, 4 )
46 
47 class SfxObjectFactory;
48 typedef SfxObjectFactory* SfxObjectFactoryPtr;
49 SV_DECL_PTRARR( SfxObjectFactoryArr_Impl, SfxObjectFactoryPtr, 3, 3 )
50 
51 struct SfxTbxCtrlFactory;
52 SV_DECL_PTRARR_DEL( SfxTbxCtrlFactArr_Impl, SfxTbxCtrlFactory*, 8, 4 )
53 
54 struct SfxStbCtrlFactory;
55 SV_DECL_PTRARR_DEL( SfxStbCtrlFactArr_Impl, SfxStbCtrlFactory*, 8, 4 )
56 
57 struct SfxMenuCtrlFactory;
58 SV_DECL_PTRARR_DEL( SfxMenuCtrlFactArr_Impl, SfxMenuCtrlFactory*, 2, 2 )
59 
60 struct SfxChildWinFactory;
61 SV_DECL_PTRARR_DEL( SfxChildWinFactArr_Impl, SfxChildWinFactory*, 2, 2 )
62 
63 class SfxModule;
64 SV_DECL_PTRARR( SfxModuleArr_Impl, SfxModule*, 2, 2 )
65 
66 class SfxFilter;
67 DECL_PTRARRAY( SfxFilterArr_Impl, SfxFilter*, 4, 4 )
68 
69 class SfxFrame;
70 typedef SfxFrame* SfxFramePtr;
71 SV_DECL_PTRARR( SfxFrameArr_Impl, SfxFramePtr, 4, 4 )
72 
73 DECLARE_LIST( SfxFilterList_Impl, SfxFilter* )
74 
75 struct SfxExternalLib_Impl;
76 typedef SfxExternalLib_Impl* SfxExternalLibPtr;
77 SV_DECL_PTRARR_DEL( SfxExternalLibArr_Impl, SfxExternalLibPtr, 2, 2 )
78 
79 //class XEventListenerRef;
80 //typedef XEventListenerRef* XEventListenerPtr;
81 //SV_DECL_PTRARR_DEL( XEventListenerArr_Impl, XEventListenerPtr, 4, 4 )
82 
83 //class XFrameRef;
84 //typedef XFrameRef* XFramePtr;
85 //SV_DECL_PTRARR_DEL( XFrameArr_Impl, XFramePtr, 4, 4 )
86 
87 class SfxSlot;
88 typedef SfxSlot* SfxSlotPtr;
89 SV_DECL_PTRARR( SfxSlotArr_Impl, SfxSlotPtr, 20, 20 )
90 
91 #endif
92