mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
47 lines
1.6 KiB
C++
47 lines
1.6 KiB
C++
#ifndef GEN_QEXCEPTION_H
|
|
#define GEN_QEXCEPTION_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#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();
|
|
QtPrivate__ExceptionHolder* QtPrivate__ExceptionHolder_new2(QtPrivate__ExceptionHolder* other);
|
|
void QtPrivate__ExceptionHolder_OperatorAssign(QtPrivate__ExceptionHolder* self, QtPrivate__ExceptionHolder* other);
|
|
void QtPrivate__ExceptionHolder_Delete(QtPrivate__ExceptionHolder* self);
|
|
|
|
QtPrivate__ExceptionStore* QtPrivate__ExceptionStore_new(QtPrivate__ExceptionStore* param1);
|
|
bool QtPrivate__ExceptionStore_HasException(QtPrivate__ExceptionStore* self);
|
|
QtPrivate__ExceptionHolder* QtPrivate__ExceptionStore_Exception(QtPrivate__ExceptionStore* self);
|
|
void QtPrivate__ExceptionStore_ThrowPossibleException(QtPrivate__ExceptionStore* self);
|
|
bool QtPrivate__ExceptionStore_HasThrown(QtPrivate__ExceptionStore* self);
|
|
void QtPrivate__ExceptionStore_Delete(QtPrivate__ExceptionStore* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|