2024-08-29 07:01:51 +00:00
|
|
|
#ifndef GEN_QEXCEPTION_H
|
|
|
|
#define GEN_QEXCEPTION_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__ExceptionHolder)
|
|
|
|
typedef QtPrivate::ExceptionHolder QtPrivate__ExceptionHolder;
|
|
|
|
#else
|
|
|
|
class QtPrivate__ExceptionHolder;
|
|
|
|
#endif
|
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__ExceptionStore)
|
|
|
|
typedef QtPrivate::ExceptionStore QtPrivate__ExceptionStore;
|
|
|
|
#else
|
|
|
|
class QtPrivate__ExceptionStore;
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
typedef struct QtPrivate__ExceptionHolder QtPrivate__ExceptionHolder;
|
|
|
|
typedef struct QtPrivate__ExceptionStore QtPrivate__ExceptionStore;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QtPrivate__ExceptionHolder* QtPrivate__ExceptionHolder_new();
|
|
|
|
void QtPrivate__ExceptionHolder_Delete(QtPrivate__ExceptionHolder* self);
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QtPrivate__ExceptionStore_HasException(const QtPrivate__ExceptionStore* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QtPrivate__ExceptionStore_ThrowPossibleException(QtPrivate__ExceptionStore* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QtPrivate__ExceptionStore_HasThrown(const QtPrivate__ExceptionStore* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QtPrivate__ExceptionStore_Delete(QtPrivate__ExceptionStore* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|