2024-11-27 18:16:48 +13:00
|
|
|
#include <QUrl>
|
|
|
|
#include <QWebEngineFileSystemAccessRequest>
|
|
|
|
#include <qwebenginefilesystemaccessrequest.h>
|
|
|
|
#include "gen_qwebenginefilesystemaccessrequest.h"
|
2024-12-11 19:55:47 +13:00
|
|
|
|
2025-01-07 11:30:33 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2024-12-11 19:55:47 +13:00
|
|
|
#endif
|
2024-11-27 18:16:48 +13:00
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QWebEngineFileSystemAccessRequest* QWebEngineFileSystemAccessRequest_new(QWebEngineFileSystemAccessRequest* other) {
|
|
|
|
return new QWebEngineFileSystemAccessRequest(*other);
|
2024-11-27 18:16:48 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
void QWebEngineFileSystemAccessRequest_OperatorAssign(QWebEngineFileSystemAccessRequest* self, QWebEngineFileSystemAccessRequest* other) {
|
|
|
|
self->operator=(*other);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QWebEngineFileSystemAccessRequest_Swap(QWebEngineFileSystemAccessRequest* self, QWebEngineFileSystemAccessRequest* other) {
|
|
|
|
self->swap(*other);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QWebEngineFileSystemAccessRequest_Accept(QWebEngineFileSystemAccessRequest* self) {
|
|
|
|
self->accept();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QWebEngineFileSystemAccessRequest_Reject(QWebEngineFileSystemAccessRequest* self) {
|
|
|
|
self->reject();
|
|
|
|
}
|
|
|
|
|
|
|
|
QUrl* QWebEngineFileSystemAccessRequest_Origin(const QWebEngineFileSystemAccessRequest* self) {
|
|
|
|
return new QUrl(self->origin());
|
|
|
|
}
|
|
|
|
|
|
|
|
QUrl* QWebEngineFileSystemAccessRequest_FilePath(const QWebEngineFileSystemAccessRequest* self) {
|
|
|
|
return new QUrl(self->filePath());
|
|
|
|
}
|
|
|
|
|
|
|
|
int QWebEngineFileSystemAccessRequest_HandleType(const QWebEngineFileSystemAccessRequest* self) {
|
|
|
|
QWebEngineFileSystemAccessRequest::HandleType _ret = self->handleType();
|
|
|
|
return static_cast<int>(_ret);
|
|
|
|
}
|
|
|
|
|
|
|
|
int QWebEngineFileSystemAccessRequest_AccessFlags(const QWebEngineFileSystemAccessRequest* self) {
|
|
|
|
QWebEngineFileSystemAccessRequest::AccessFlags _ret = self->accessFlags();
|
|
|
|
return static_cast<int>(_ret);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QWebEngineFileSystemAccessRequest_Delete(QWebEngineFileSystemAccessRequest* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<QWebEngineFileSystemAccessRequest*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|