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: toolsdll.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 ************************************************************************/
39 #include <tools/svwin.h>
40 #include <tools/solar.h>
41 #include <tools/shl.hxx>
47 // Anzahl Freispeicherlisten
48 #define MEM_FREELIST_COUNT 15
60 FreeBlock
* pFirstBlocks
[MEM_FREELIST_COUNT
]; // Erste Bloecke in Freispeicherlisten
61 void* pNewHandler
; // New-Handler
62 int nMultiThread
; // MultiThread an/aus
67 // !!! SVDATA muss in jedem Fall ganz vorne in der Struktur stehen !!!
68 SVDATA
* pSVData
; // Pointer auf StarView-Daten
69 HANDLE hMem
; // Handler der Tools-Daten
70 MemData aMemD
; // Daten der Speicherverwaltung
71 void* aAppData
[SHL_COUNT
]; // Daten fuer andere Shared Libs
75 // ----------------------
76 // - Zugriffsfunktionen -
77 // ----------------------
82 ToolsData
* FAR PASCAL
ImpGetAppData();
83 void FAR PASCAL
ImpSetAppData( ToolsData
* pData
);
87 ToolsData
* ImpGetToolsData();