QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskInternalMacros.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_INTERNAL_MACROS_H
7#define QSK_INTERNAL_MACROS_H
8
9#include <qcompilerdetection.h>
10
11#define QSK_QT_PRIVATE_BEGIN \
12 QT_WARNING_PUSH \
13 QT_WARNING_DISABLE_GCC("-Wpragmas") \
14 QT_WARNING_DISABLE_GCC("-Wpedantic") \
15 QT_WARNING_DISABLE_GCC("-Wsuggest-override") \
16 QT_WARNING_DISABLE_GCC("-Wsuggest-final-types") \
17 QT_WARNING_DISABLE_GCC("-Wsuggest-final-methods")
18
19#define QSK_QT_PRIVATE_END \
20 QT_WARNING_POP
21
22#define QSK_HIDDEN_EXTERNAL_BEGIN \
23 QT_WARNING_PUSH \
24 QT_WARNING_DISABLE_GCC("-Wmissing-declarations")
25
26#define QSK_HIDDEN_EXTERNAL_END \
27 QT_WARNING_POP
28
29#endif