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