mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
36 lines
912 B
C++
36 lines
912 B
C++
#ifndef GEN_QEXCEPTION_H
|
|
#define GEN_QEXCEPTION_H
|
|
|
|
#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);
|
|
void QtPrivate__ExceptionStore_Delete(QtPrivate__ExceptionStore* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|