mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 09:28:36 +00:00
54 lines
1.9 KiB
C++
54 lines
1.9 KiB
C++
|
#include <QUrl>
|
||
|
#include <QWebEngineFileSystemAccessRequest>
|
||
|
#include <qwebenginefilesystemaccessrequest.h>
|
||
|
#include "gen_qwebenginefilesystemaccessrequest.h"
|
||
|
#include "_cgo_export.h"
|
||
|
|
||
|
void QWebEngineFileSystemAccessRequest_new(QWebEngineFileSystemAccessRequest* other, QWebEngineFileSystemAccessRequest** outptr_QWebEngineFileSystemAccessRequest) {
|
||
|
QWebEngineFileSystemAccessRequest* ret = new QWebEngineFileSystemAccessRequest(*other);
|
||
|
*outptr_QWebEngineFileSystemAccessRequest = ret;
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|
||
|
|