Project
Loading...
Searching...
No Matches
qconfig_wrapinclude.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
14
15#ifndef QCONFIG_HEADER_GUARD_NO_INCLUDE
16#ifndef AddHelp
17#define AddHelp(cmd, cmdshort)
18#endif
19#ifndef AddHelpAll
20#define AddHelpAll(cmd, cmdshort)
21#endif
22#ifndef AddCommand
23#define AddCommand(cmd, cmdshort, command)
24#endif
25#ifndef AddShortcut
26#define AddShortcut(cmd, cmdshort, forward, help, ...)
27#endif
28#ifndef AddVariable
29#define AddVariable(name, type, default)
30#endif
31#ifndef AddHelpText
32#define AddHelpText(text)
33#endif
34#ifndef BeginNamespace
35#define BeginNamespace(name)
36#endif
37#ifndef EndNamespace
38#define EndNamespace()
39#endif
40#ifndef AddCustomCPP
41#define AddCustomCPP(...)
42#endif
43#ifndef AddOptionRTC
44#define AddOptionRTC(...) AddOption(__VA_ARGS__)
45#endif
46#ifndef AddVariableRTC
47#define AddVariableRTC(...) AddVariable(__VA_ARGS__)
48#endif
49#ifndef AddOptionArrayRTC
50#define AddOptionArrayRTC(...) AddOptionArray(__VA_ARGS__)
51#endif
52#ifndef BeginHiddenConfig
53#define BeginHiddenConfig(name, instance) BeginSubConfig(name, instance, , , , )
54#endif
55
56#include "qconfigoptions.h"
57
58#undef AddOption
59#undef AddOptionRTC
60#undef AddVariable
61#undef AddVariableRTC
62#undef AddOptionSet
63#undef AddOptionVec
64#undef AddOptionArray
65#undef AddOptionArrayRTC
66#undef AddSubConfig
67#undef BeginConfig
68#undef BeginSubConfig
69#undef BeginHiddenConfig
70#undef EndConfig
71#undef AddHelp
72#undef AddHelpAll
73#undef AddHelpText
74#undef AddCommand
75#undef AddShortcut
76#undef BeginNamespace
77#undef EndNamespace
78#undef AddCustomCPP
79#ifdef QCONFIG_COMPARE
80#undef QCONFIG_COMPARE
81#endif
82
83#else
84#undef QCONFIG_HEADER_GUARD_NO_INCLUDE
85#endif