|
UDK 3.2.7 C/C++ API Reference
|
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 00002 /* 00003 * This file is part of the LibreOffice project. 00004 * 00005 * This Source Code Form is subject to the terms of the Mozilla Public 00006 * License, v. 2.0. If a copy of the MPL was not distributed with this 00007 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 * 00009 * This file incorporates work covered by the following license notice: 00010 * 00011 * Licensed to the Apache Software Foundation (ASF) under one or more 00012 * contributor license agreements. See the NOTICE file distributed 00013 * with this work for additional information regarding copyright 00014 * ownership. The ASF licenses this file to you under the Apache 00015 * License, Version 2.0 (the "License"); you may not use this file 00016 * except in compliance with the License. You may obtain a copy of 00017 * the License at http://www.apache.org/licenses/LICENSE-2.0 . 00018 */ 00019 00020 #ifndef INCLUDED_cppu_helper_purpenv_Mapping_hxx 00021 #define INCLUDED_cppu_helper_purpenv_Mapping_hxx 00022 00023 #include "com/sun/star/uno/Any.h" 00024 00025 #include <cppu/cppudllapi.h> 00026 #include "uno/environment.h" 00027 #include "uno/mapping.h" 00028 00029 00030 namespace cppu { namespace helper { namespace purpenv { 00031 00038 typedef void ProbeFun( 00039 bool pre, 00040 void * pThis, 00041 void * pContext, 00042 typelib_TypeDescriptionReference * pReturnTypeRef, 00043 typelib_MethodParameter * pParams, 00044 sal_Int32 nParams, 00045 typelib_TypeDescription const * pMemberType, 00046 void * pReturn, 00047 void * pArgs[], 00048 uno_Any ** ppException ); 00049 00050 00051 00052 PURPENV_DLLPUBLIC void createMapping(uno_Mapping ** ppMapping, 00053 uno_Environment * pFrom, 00054 uno_Environment * pTo, 00055 ProbeFun * probeFun = NULL, 00056 void * pContext = NULL 00057 ); 00058 00059 }}} 00060 00061 #endif 00062 00063 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
1.7.3