CuteHMI - CuteHMI (CuteHMI.2)
macros.hpp
1 #ifndef H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_MACROS_HPP
2 #define H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_MACROS_HPP
3 
4 #include "loggingMacros.hpp"
5 
6 #ifdef Q_MOC_RUN
7 #define CUTEHMI_PRIVATE_SIGNALS_ACCESS_SPECIFIER Q_SIGNALS
8 #else
9 #define CUTEHMI_PRIVATE_SIGNALS_ACCESS_SPECIFIER private
10 #endif
11 
12 #define CUTEHMI_PRIVATE_SIGNALS CUTEHMI_PRIVATE_SIGNALS_ACCESS_SPECIFIER
13 
14 #ifdef Q_MOC_RUN
15 #define CUTEHMI_PROTECTED_SIGNALS_ACCESS_SPECIFIER Q_SIGNALS
16 #else
17 #define CUTEHMI_PROTECTED_SIGNALS_ACCESS_SPECIFIER protected
18 #endif
19 
20 #define CUTEHMI_PROTECTED_SIGNALS CUTEHMI_PROTECTED_SIGNALS_ACCESS_SPECIFIER
21 
22 #endif
23 
24 //(c)C: Copyright © 2019, Michał Policht <michal@policht.pl>. All rights reserved.
25 //(c)C: This file is a part of CuteHMI.
26 //(c)C: CuteHMI is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
27 //(c)C: CuteHMI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
28 //(c)C: You should have received a copy of the GNU Lesser General Public License along with CuteHMI. If not, see <https://www.gnu.org/licenses/>.