diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-07-22 16:38:24 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-07-22 16:38:24 +0000 |
commit | b729675dc5c407fa4e14355f1df73977eafac684 (patch) | |
tree | 1f57ef43a6fb308bb0edf50d7698db66d95320ca /tools | |
parent | a9d136a1417f5cb352fe12321d64e036de77c3d9 (diff) |
INTEGRATION: CWS os2port03 (1.2.2); FILE ADDED
2008/07/18 11:32:18 rt 1.2.2.3: License header updated.
2008/01/14 17:03:52 ydario 1.2.2.2: restored os2 code.
Issue number:i85203
Submitted by:ydario
2003/10/20 15:40:22 ydario 1.2.2.1: file toolsdll.cxx was added on branch cws_src680_os2port03 on 2008-01-14 17:03:52 +0000
Diffstat (limited to 'tools')
-rw-r--r-- | tools/os2/source/dll/toolsdll.cxx | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/tools/os2/source/dll/toolsdll.cxx b/tools/os2/source/dll/toolsdll.cxx new file mode 100644 index 000000000000..4c8650a2737c --- /dev/null +++ b/tools/os2/source/dll/toolsdll.cxx @@ -0,0 +1,52 @@ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2008 by Sun Microsystems, Inc. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: toolsdll.cxx,v $ + * + * $Revision: 1.3 $ + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +#ifndef _SHL_HXX +#include <tools/shl.hxx> +#endif + +#ifndef _DLL_HXX +#include <dll.hxx> +#endif + +// ======================================================================= + +static void* aAppData[SHL_COUNT]; + +// ----------------------------------------------------------------------- + +void** GetAppData( USHORT nSharedLib ) +{ + return &(aAppData[nSharedLib]); +} + +// ======================================================================= + |