-
Notifications
You must be signed in to change notification settings - Fork 496
Expand file tree
/
Copy pathNoDebugGUI.h
More file actions
39 lines (33 loc) · 1.06 KB
/
NoDebugGUI.h
File metadata and controls
39 lines (33 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright CERN and copyright holders of ALICE O2. This software is
// distributed under the terms of the GNU General Public License v3 (GPL
// Version 3), copied verbatim in the file "COPYING".
//
// See http://alice-o2.web.cern.ch/license for full licensing information.
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
#ifndef FRAMEWORK_NODEBUGGUI_H
#define FRAMEWORK_NODEBUGGUI_H
#include <functional>
namespace o2
{
namespace framework
{
// The DebugGUI has been moved to a separate package, this is a dummy header file
// included when the DebugGUI package is not found or disabled.
static inline void* initGUI(const char* name)
{
return nullptr;
}
static inline bool pollGUI(void* context, std::function<void(void)> guiCallback)
{
// returns whether quit is requested, we return 'no'
return false;
}
static inline void disposeGUI()
{
}
} // namespace framework
} // namespace o2
#endif // FRAMEWORK_NODEBUGGUI_H