2000-09-18 14:29:57 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 09:59:36 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2000-09-18 14:29:57 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2000-09-18 14:29:57 +00:00
|
|
|
*
|
2008-04-11 09:59:36 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 14:29:57 +00:00
|
|
|
*
|
2008-04-11 09:59:36 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2000-09-18 14:29:57 +00:00
|
|
|
*
|
2008-04-11 09:59:36 +00:00
|
|
|
* 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.
|
2000-09-18 14:29:57 +00:00
|
|
|
*
|
2008-04-11 09:59:36 +00:00
|
|
|
* 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).
|
2000-09-18 14:29:57 +00:00
|
|
|
*
|
2008-04-11 09:59:36 +00:00
|
|
|
* 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.
|
2000-09-18 14:29:57 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2006-06-19 22:45:05 +00:00
|
|
|
#pragma warning(push, 1)
|
2000-09-18 14:29:57 +00:00
|
|
|
#include <windows.h>
|
2006-06-19 22:45:05 +00:00
|
|
|
#pragma warning(pop)
|
|
|
|
|
2003-10-06 12:15:52 +00:00
|
|
|
#include "rtl/ustring.hxx"
|
2000-09-18 14:29:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
class type_info;
|
|
|
|
typedef struct _uno_Any uno_Any;
|
|
|
|
typedef struct _uno_Mapping uno_Mapping;
|
|
|
|
|
|
|
|
namespace CPPU_CURRENT_NAMESPACE
|
|
|
|
{
|
|
|
|
|
2006-06-19 22:45:05 +00:00
|
|
|
const DWORD MSVC_ExceptionCode = 0xe06d7363;
|
2003-10-06 12:15:52 +00:00
|
|
|
const long MSVC_magic_number = 0x19930520L;
|
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|
type_info * msci_getRTTI( ::rtl::OUString const & rUNOname );
|
2000-09-18 14:29:57 +00:00
|
|
|
|
2003-10-06 12:15:52 +00:00
|
|
|
//==============================================================================
|
|
|
|
int msci_filterCppException(
|
|
|
|
EXCEPTION_POINTERS * pPointers, uno_Any * pUnoExc, uno_Mapping * pCpp2Uno );
|
2000-09-18 14:29:57 +00:00
|
|
|
|
2003-10-06 12:15:52 +00:00
|
|
|
//==============================================================================
|
2000-09-18 14:29:57 +00:00
|
|
|
void msci_raiseException(
|
|
|
|
uno_Any * pUnoExc, uno_Mapping * pUno2Cpp );
|
|
|
|
|
|
|
|
}
|
|
|
|
|