UDK 3.2.7 C/C++ API Reference

uno/lbnames.h

Go to the documentation of this file.
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 #ifndef _UNO_LBNAMES_H_
00020 #define _UNO_LBNAMES_H_
00021 
00022 /* I assume "LB" means "Language Binding" */
00023 
00024 #ifdef __cplusplus
00025 
00026 #ifdef CPPU_ENV
00027 
00028 #define CPPU_STRINGIFY_EX( x ) #x
00029 #define CPPU_STRINGIFY( x ) CPPU_STRINGIFY_EX( x )
00030 
00032 #define CPPU_CURRENT_LANGUAGE_BINDING_NAME CPPU_STRINGIFY( CPPU_ENV )
00033 
00034 #else
00035 
00036 #error "No supported C++ compiler environment."
00037 provoking error here, because PP ignores #error
00038 
00039 #endif /* CPPU_ENV */
00040 
00041 #endif /* __cplusplus */
00042 
00044 #define UNO_LB_UNO "uno"
00045 
00046 #define UNO_LB_C "c"
00047 
00048 #define UNO_LB_JAVA "java"
00049 
00050 #define UNO_LB_CLI "cli"
00051 
00052 #endif
00053 
00054 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines