UDK 3.2.7 C/C++ API Reference
cppu/helper/purpenv/Mapping.hxx
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
00002 /*************************************************************************
00003  *
00004  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
00005  *
00006  * Copyright 2000, 2010 Oracle and/or its affiliates.
00007  *
00008  * OpenOffice.org - a multi-platform office productivity suite
00009  *
00010  * This file is part of OpenOffice.org.
00011  *
00012  * OpenOffice.org is free software: you can redistribute it and/or modify
00013  * it under the terms of the GNU Lesser General Public License version 3
00014  * only, as published by the Free Software Foundation.
00015  *
00016  * OpenOffice.org is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU Lesser General Public License version 3 for more details
00020  * (a copy is included in the LICENSE file that accompanied this code).
00021  *
00022  * You should have received a copy of the GNU Lesser General Public License
00023  * version 3 along with OpenOffice.org.  If not, see
00024  * <http://www.openoffice.org/license.html>
00025  * for a copy of the LGPLv3 License.
00026  *
00027  ************************************************************************/
00028 
00029 #ifndef INCLUDED_cppu_helper_purpenv_Mapping_hxx
00030 #define INCLUDED_cppu_helper_purpenv_Mapping_hxx
00031 
00032 #include "com/sun/star/uno/Any.h"
00033 
00034 #include <cppu/cppudllapi.h>
00035 #include "uno/environment.h"
00036 #include "uno/mapping.h"
00037 
00038 
00039 namespace cppu { namespace helper { namespace purpenv {
00040 
00047 typedef void ProbeFun(
00048     bool                                pre,
00049     void                              * pThis,
00050     void                              * pContext,
00051     typelib_TypeDescriptionReference  * pReturnTypeRef,
00052     typelib_MethodParameter           * pParams,
00053     sal_Int32                           nParams,
00054     typelib_TypeDescription     const * pMemberType,
00055     void                              * pReturn,
00056     void                              * pArgs[],
00057     uno_Any                          ** ppException );
00058 
00059 
00060 
00061 PURPENV_DLLPUBLIC  void createMapping(uno_Mapping     ** ppMapping,
00062                    uno_Environment  * pFrom,
00063                    uno_Environment  * pTo,
00064                    ProbeFun         * probeFun  = NULL,
00065                    void             * pContext  = NULL
00066     );
00067 
00068 }}}
00069 
00070 #endif
00071 
00072 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines