$darkmode
config.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2020 Robert Bosch GmbH
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * SPDX-License-Identifier: Apache-2.0
17  */
22 #pragma once
23 
24 #ifndef CLOE_CONTACT_EMAIL
25 #define CLOE_CONTACT_EMAIL "cloe-dev@eclipse.org"
26 #endif
27 
28 #ifndef CLOE_STACK_VERSION
29 #define CLOE_STACK_VERSION "4.1"
30 #endif
31 
32 #ifndef CLOE_STACK_SUPPORTED_VERSIONS
33 #define CLOE_STACK_SUPPORTED_VERSIONS {"4", "4.0", "4.1"}
34 #endif
35 
36 #ifndef CLOE_XDG_SUFFIX
37 #define CLOE_XDG_SUFFIX "cloe"
38 #endif
39 
40 #ifndef CLOE_CONFIG_HOME
41 #define CLOE_CONFIG_HOME "${XDG_CONFIG_HOME-${HOME}/.config}/" CLOE_XDG_SUFFIX
42 #endif
43 
44 #ifndef CLOE_DATA_HOME
45 #define CLOE_DATA_HOME "${XDG_DATA_HOME-${HOME}/.local/share}/" CLOE_XDG_SUFFIX
46 #endif
47 
48 #ifndef CLOE_SIMULATION_UUID_VAR
49 #define CLOE_SIMULATION_UUID_VAR "CLOE_SIMULATION_UUID"
50 #endif
51 
52 // The environment variable from which additional plugins should
53 // be loaded. Takes the same format as PATH.
54 #ifndef CLOE_PLUGIN_PATH
55 #define CLOE_PLUGIN_PATH "CLOE_PLUGIN_PATH"
56 #endif
57