Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / include / uno / lbnames.h
bloba4c967616f6355dc848b6f873a8a01e49db67a8f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_UNO_LBNAMES_H
20 #define INCLUDED_UNO_LBNAMES_H
22 /* I assume "LB" means "Language Binding" */
24 #include <sal/config.h>
26 #include <sal/macros.h>
28 #ifdef __cplusplus
30 #ifdef CPPU_ENV
32 /** Name for C++ compiler/ platform, e.g. "gcc3", "msci" */
33 #define CPPU_CURRENT_LANGUAGE_BINDING_NAME SAL_STRINGIFY( CPPU_ENV )
35 #else
37 #error "No supported C++ compiler environment."
38 provoking error here, because PP ignores #error
40 #endif /* CPPU_ENV */
42 #endif /* __cplusplus */
44 /** Environment type name for binary C UNO. */
45 #define UNO_LB_UNO "uno"
46 /** Environment type name for Java 1.3.1 compatible virtual machine. */
47 #define UNO_LB_JAVA "java"
48 /** Environment type name for CLI (Common Language Infrastructure). */
49 #define UNO_LB_CLI "cli"
51 #endif
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */