1 /* 2 Copyright (C) 2015 Volker Krause <vkrause@kde.org> 3 4 This program is free software; you can redistribute it and/or modify it 5 under the terms of the GNU Library General Public License as published by 6 the Free Software Foundation; either version 2 of the License, or (at your 7 option) any later version. 8 9 This program is distributed in the hope that it will be useful, but WITHOUT 10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 12 License for more details. 13 14 You should have received a copy of the GNU General Public License 15 along with this program. If not, see <https://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef DWARFTYPES_H 19 #define DWARFTYPES_H 20 21 #include <QMetaType> 22 23 #include <dwarf.h> 24 25 enum class DwarfVirtuality : uint8_t 26 { 27 None = DW_VIRTUALITY_none, 28 Virtual = DW_VIRTUALITY_virtual, 29 PureVirtual = DW_VIRTUALITY_pure_virtual 30 }; 31 32 Q_DECLARE_METATYPE(DwarfVirtuality) 33 34 #endif 35