miqt/qt/webengine/gen_qwebenginecertificateerror.h

47 lines
1.9 KiB
C++

#pragma once
#ifndef MIQT_QT_WEBENGINE_GEN_QWEBENGINECERTIFICATEERROR_H
#define MIQT_QT_WEBENGINE_GEN_QWEBENGINECERTIFICATEERROR_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
class QSslCertificate;
class QUrl;
class QWebEngineCertificateError;
#else
typedef struct QSslCertificate QSslCertificate;
typedef struct QUrl QUrl;
typedef struct QWebEngineCertificateError QWebEngineCertificateError;
#endif
QWebEngineCertificateError* QWebEngineCertificateError_new(int error, QUrl* url, bool overridable, struct miqt_string errorDescription);
QWebEngineCertificateError* QWebEngineCertificateError_new2(QWebEngineCertificateError* other);
int QWebEngineCertificateError_Error(const QWebEngineCertificateError* self);
QUrl* QWebEngineCertificateError_Url(const QWebEngineCertificateError* self);
bool QWebEngineCertificateError_IsOverridable(const QWebEngineCertificateError* self);
struct miqt_string QWebEngineCertificateError_ErrorDescription(const QWebEngineCertificateError* self);
void QWebEngineCertificateError_OperatorAssign(QWebEngineCertificateError* self, QWebEngineCertificateError* other);
void QWebEngineCertificateError_Defer(QWebEngineCertificateError* self);
bool QWebEngineCertificateError_Deferred(const QWebEngineCertificateError* self);
void QWebEngineCertificateError_RejectCertificate(QWebEngineCertificateError* self);
void QWebEngineCertificateError_IgnoreCertificateError(QWebEngineCertificateError* self);
bool QWebEngineCertificateError_Answered(const QWebEngineCertificateError* self);
struct miqt_array /* of QSslCertificate* */ QWebEngineCertificateError_CertificateChain(const QWebEngineCertificateError* self);
void QWebEngineCertificateError_Delete(QWebEngineCertificateError* self, bool isSubclass);
#ifdef __cplusplus
} /* extern C */
#endif
#endif