miqt/qt6/gen_qexception.h

37 lines
960 B
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QEXCEPTION_H
#define MIQT_QT6_GEN_QEXCEPTION_H
2024-10-20 05:21:03 +00:00
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__ExceptionStore)
typedef QtPrivate::ExceptionStore QtPrivate__ExceptionStore;
#else
class QtPrivate__ExceptionStore;
#endif
#else
typedef struct QtPrivate__ExceptionStore QtPrivate__ExceptionStore;
#endif
bool QtPrivate__ExceptionStore_HasException(const QtPrivate__ExceptionStore* self);
void QtPrivate__ExceptionStore_ThrowPossibleException(QtPrivate__ExceptionStore* self);
void QtPrivate__ExceptionStore_RethrowException(const QtPrivate__ExceptionStore* self);
2024-11-19 06:29:06 +00:00
void QtPrivate__ExceptionStore_Delete(QtPrivate__ExceptionStore* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif