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_H
16#error Must include qconfig.h before using qconfig_internal.h, etc...
17#endif
18
19#ifndef AddHelp
20#define AddHelp(cmd, cmdshort)
21#endif
22#ifndef AddHelpAll
23#define AddHelpAll(cmd, cmdshort)
24#endif
25#ifndef AddCommand
26#define AddCommand(cmd, cmdshort, command)
27#endif
28#ifndef AddShortcut
29#define AddShortcut(cmd, cmdshort, forward, help, ...)
30#endif
31#ifndef AddVariable
32#define AddVariable(name, type, default)
33#endif
34#ifndef AddHelpText
35#define AddHelpText(text)
36#endif
37#ifndef BeginNamespace
38#define BeginNamespace(name)
39#endif
40#ifndef EndNamespace
41#define EndNamespace()
42#endif
43#ifndef AddCustomCPP
44#define AddCustomCPP(...)
45#endif
46#ifndef AddOptionRTC
47#define AddOptionRTC(...) AddOption(__VA_ARGS__)
48#endif
49#ifndef AddVariableRTC
50#define AddVariableRTC(...) AddVariable(__VA_ARGS__)
51#endif
52#ifndef AddOptionArrayRTC
53#define AddOptionArrayRTC(...) AddOptionArray(__VA_ARGS__)
54#endif
55#ifndef BeginHiddenConfig
56#define BeginHiddenConfig(name, instance) BeginSubConfig(name, instance, , , , )
57#endif
58
59#ifdef QCONFIG_GENRTC
60#define QCONFIG_INTERNAL
61#endif
62
63#include "qconfigoptions.h"
64
65#undef AddOption
66#undef AddOptionRTC
67#undef AddVariable
68#undef AddVariableRTC
69#undef AddOptionSet
70#undef AddOptionVec
71#undef AddOptionArray
72#undef AddOptionArrayRTC
73#undef AddSubConfig
74#undef BeginConfig
75#undef BeginSubConfig
76#undef BeginHiddenConfig
77#undef EndConfig
78#undef AddHelp
79#undef AddHelpAll
80#undef AddHelpText
81#undef AddCommand
82#undef AddShortcut
83#undef BeginNamespace
84#undef EndNamespace
85#undef AddCustomCPP
86#ifdef QCONFIG_COMPARE
87#undef QCONFIG_COMPARE
88#endif
89#ifdef QCONFIG_INTERNAL
90#undef QCONFIG_INTERNAL
91#endif