AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
lbnames.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 #ifndef INCLUDED_UNO_LBNAMES_H
4 #define INCLUDED_UNO_LBNAMES_H
5 
6 /* I assume "LB" means "Language Binding" */
7 
8 #include "sal/config.h"
9 
10 #include "sal/macros.h"
11 
12 #ifdef __cplusplus
13 
14 #ifdef CPPU_ENV
15 
17 #define CPPU_CURRENT_LANGUAGE_BINDING_NAME SAL_STRINGIFY(CPPU_ENV)
18 
19 #else
20 
21 #error "No supported C++ compiler environment."
22 provoking error here, because PP ignores #error
23 
24 #endif /* CPPU_ENV */
25 
26 #endif /* __cplusplus */
27 
29 #define UNO_LB_UNO "uno"
30 
31 #define UNO_LB_JAVA "java"
32 
33 #define UNO_LB_CLI "cli"
34 
35 #endif
36 
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
provoking error here
Definition: lbnames.h:22