xref: /aoo41x/main/sfx2/inc/arrdecl.hxx (revision 353d8f4d)
1*353d8f4dSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*353d8f4dSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*353d8f4dSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*353d8f4dSAndrew Rist  * distributed with this work for additional information
6*353d8f4dSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*353d8f4dSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*353d8f4dSAndrew Rist  * "License"); you may not use this file except in compliance
9*353d8f4dSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*353d8f4dSAndrew Rist  *
11*353d8f4dSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*353d8f4dSAndrew Rist  *
13*353d8f4dSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*353d8f4dSAndrew Rist  * software distributed under the License is distributed on an
15*353d8f4dSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*353d8f4dSAndrew Rist  * KIND, either express or implied.  See the License for the
17*353d8f4dSAndrew Rist  * specific language governing permissions and limitations
18*353d8f4dSAndrew Rist  * under the License.
19*353d8f4dSAndrew Rist  *
20*353d8f4dSAndrew Rist  *************************************************************/
21*353d8f4dSAndrew Rist 
22*353d8f4dSAndrew Rist 
23cdf0e10cSrcweir #ifndef _SFX_ARRDECL_HXX
24cdf0e10cSrcweir #define _SFX_ARRDECL_HXX
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include <tools/list.hxx>
27cdf0e10cSrcweir #include <svl/svarray.hxx>
28cdf0e10cSrcweir #include <sfx2/minarray.hxx>
29cdf0e10cSrcweir 
30cdf0e10cSrcweir struct CntUpdateResult;
31cdf0e10cSrcweir 
32cdf0e10cSrcweir SV_DECL_PTRARR_DEL(CntUpdateResults_Impl, CntUpdateResult*, 4, 4)
33cdf0e10cSrcweir 
34cdf0e10cSrcweir class SfxObjectShell;
35cdf0e10cSrcweir SV_DECL_PTRARR( SfxObjectShellArr_Impl, SfxObjectShell*, 4, 4 )
36cdf0e10cSrcweir 
37cdf0e10cSrcweir class SfxViewFrame;
38cdf0e10cSrcweir SV_DECL_PTRARR( SfxViewFrameArr_Impl, SfxViewFrame*, 4, 4 )
39cdf0e10cSrcweir 
40cdf0e10cSrcweir class SfxViewShell;
41cdf0e10cSrcweir SV_DECL_PTRARR( SfxViewShellArr_Impl, SfxViewShell*, 4, 4 )
42cdf0e10cSrcweir 
43cdf0e10cSrcweir class SfxObjectFactory;
44cdf0e10cSrcweir typedef SfxObjectFactory* SfxObjectFactoryPtr;
45cdf0e10cSrcweir SV_DECL_PTRARR( SfxObjectFactoryArr_Impl, SfxObjectFactoryPtr, 3, 3 )
46cdf0e10cSrcweir 
47cdf0e10cSrcweir struct SfxTbxCtrlFactory;
48cdf0e10cSrcweir SV_DECL_PTRARR_DEL( SfxTbxCtrlFactArr_Impl, SfxTbxCtrlFactory*, 8, 4 )
49cdf0e10cSrcweir 
50cdf0e10cSrcweir struct SfxStbCtrlFactory;
51cdf0e10cSrcweir SV_DECL_PTRARR_DEL( SfxStbCtrlFactArr_Impl, SfxStbCtrlFactory*, 8, 4 )
52cdf0e10cSrcweir 
53cdf0e10cSrcweir struct SfxMenuCtrlFactory;
54cdf0e10cSrcweir SV_DECL_PTRARR_DEL( SfxMenuCtrlFactArr_Impl, SfxMenuCtrlFactory*, 2, 2 )
55cdf0e10cSrcweir 
56cdf0e10cSrcweir struct SfxChildWinFactory;
57cdf0e10cSrcweir SV_DECL_PTRARR_DEL( SfxChildWinFactArr_Impl, SfxChildWinFactory*, 2, 2 )
58cdf0e10cSrcweir 
59cdf0e10cSrcweir class SfxModule;
60cdf0e10cSrcweir SV_DECL_PTRARR( SfxModuleArr_Impl, SfxModule*, 2, 2 )
61cdf0e10cSrcweir 
62cdf0e10cSrcweir class SfxFilter;
63cdf0e10cSrcweir DECL_PTRARRAY( SfxFilterArr_Impl, SfxFilter*, 4, 4 )
64cdf0e10cSrcweir 
65cdf0e10cSrcweir class SfxFrame;
66cdf0e10cSrcweir typedef SfxFrame* SfxFramePtr;
67cdf0e10cSrcweir SV_DECL_PTRARR( SfxFrameArr_Impl, SfxFramePtr, 4, 4 )
68cdf0e10cSrcweir 
69cdf0e10cSrcweir DECLARE_LIST( SfxFilterList_Impl, SfxFilter* )
70cdf0e10cSrcweir 
71cdf0e10cSrcweir struct SfxExternalLib_Impl;
72cdf0e10cSrcweir typedef SfxExternalLib_Impl* SfxExternalLibPtr;
73cdf0e10cSrcweir SV_DECL_PTRARR_DEL( SfxExternalLibArr_Impl, SfxExternalLibPtr, 2, 2 )
74cdf0e10cSrcweir 
75cdf0e10cSrcweir //class XEventListenerRef;
76cdf0e10cSrcweir //typedef XEventListenerRef* XEventListenerPtr;
77cdf0e10cSrcweir //SV_DECL_PTRARR_DEL( XEventListenerArr_Impl, XEventListenerPtr, 4, 4 )
78cdf0e10cSrcweir 
79cdf0e10cSrcweir //class XFrameRef;
80cdf0e10cSrcweir //typedef XFrameRef* XFramePtr;
81cdf0e10cSrcweir //SV_DECL_PTRARR_DEL( XFrameArr_Impl, XFramePtr, 4, 4 )
82cdf0e10cSrcweir 
83cdf0e10cSrcweir class SfxSlot;
84cdf0e10cSrcweir typedef SfxSlot* SfxSlotPtr;
85cdf0e10cSrcweir SV_DECL_PTRARR( SfxSlotArr_Impl, SfxSlotPtr, 20, 20 )
86cdf0e10cSrcweir 
87cdf0e10cSrcweir #endif
88