UDK 3.2.7 C/C++ API Reference
|
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 #ifndef _UNO_LBNAMES_H_ 00029 #define _UNO_LBNAMES_H_ 00030 00031 /* I assume "LB" means "Language Binding" */ 00032 00033 #ifdef __cplusplus 00034 00035 #ifdef CPPU_ENV 00036 00037 #define CPPU_STRINGIFY_EX( x ) #x 00038 #define CPPU_STRINGIFY( x ) CPPU_STRINGIFY_EX( x ) 00039 00041 #define CPPU_CURRENT_LANGUAGE_BINDING_NAME CPPU_STRINGIFY( CPPU_ENV ) 00042 00043 #else 00044 00045 #error "No supported C++ compiler environment." 00046 provoking error here, because PP ignores #error 00047 00048 #endif /* CPPU_ENV */ 00049 00050 #endif /* __cplusplus */ 00051 00053 #define UNO_LB_UNO "uno" 00054 00055 #define UNO_LB_C "c" 00056 00057 #define UNO_LB_JAVA "java" 00058 00059 #define UNO_LB_CLI "cli" 00060 00061 #endif 00062 00063 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */