2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QSAVEFILE_H
|
|
|
|
#define MIQT_QT_GEN_QSAVEFILE_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2024-11-19 06:29:06 +00:00
|
|
|
class QFileDevice;
|
|
|
|
class QIODevice;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QSaveFile;
|
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QFileDevice QFileDevice;
|
|
|
|
typedef struct QIODevice QIODevice;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QSaveFile QSaveFile;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QSaveFile_new(struct miqt_string name, QSaveFile** outptr_QSaveFile, QFileDevice** outptr_QFileDevice, QIODevice** outptr_QIODevice, QObject** outptr_QObject);
|
|
|
|
void QSaveFile_new2(QSaveFile** outptr_QSaveFile, QFileDevice** outptr_QFileDevice, QIODevice** outptr_QIODevice, QObject** outptr_QObject);
|
|
|
|
void QSaveFile_new3(struct miqt_string name, QObject* parent, QSaveFile** outptr_QSaveFile, QFileDevice** outptr_QFileDevice, QIODevice** outptr_QIODevice, QObject** outptr_QObject);
|
|
|
|
void QSaveFile_new4(QObject* parent, QSaveFile** outptr_QSaveFile, QFileDevice** outptr_QFileDevice, QIODevice** outptr_QIODevice, QObject** outptr_QObject);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QSaveFile_MetaObject(const QSaveFile* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QSaveFile_Metacast(QSaveFile* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QSaveFile_Tr(const char* s);
|
|
|
|
struct miqt_string QSaveFile_TrUtf8(const char* s);
|
|
|
|
struct miqt_string QSaveFile_FileName(const QSaveFile* self);
|
|
|
|
void QSaveFile_SetFileName(QSaveFile* self, struct miqt_string name);
|
2024-08-29 07:01:51 +00:00
|
|
|
bool QSaveFile_Open(QSaveFile* self, int flags);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QSaveFile_Commit(QSaveFile* self);
|
|
|
|
void QSaveFile_CancelWriting(QSaveFile* self);
|
|
|
|
void QSaveFile_SetDirectWriteFallback(QSaveFile* self, bool enabled);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QSaveFile_DirectWriteFallback(const QSaveFile* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
long long QSaveFile_WriteData(QSaveFile* self, const char* data, long long lenVal);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QSaveFile_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QSaveFile_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QSaveFile_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QSaveFile_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QSaveFile_override_virtual_FileName(void* self, intptr_t slot);
|
|
|
|
struct miqt_string QSaveFile_virtualbase_FileName(const void* self);
|
|
|
|
void QSaveFile_override_virtual_Open(void* self, intptr_t slot);
|
|
|
|
bool QSaveFile_virtualbase_Open(void* self, int flags);
|
|
|
|
void QSaveFile_override_virtual_WriteData(void* self, intptr_t slot);
|
|
|
|
long long QSaveFile_virtualbase_WriteData(void* self, const char* data, long long lenVal);
|
|
|
|
void QSaveFile_override_virtual_IsSequential(void* self, intptr_t slot);
|
|
|
|
bool QSaveFile_virtualbase_IsSequential(const void* self);
|
|
|
|
void QSaveFile_override_virtual_Pos(void* self, intptr_t slot);
|
|
|
|
long long QSaveFile_virtualbase_Pos(const void* self);
|
|
|
|
void QSaveFile_override_virtual_Seek(void* self, intptr_t slot);
|
|
|
|
bool QSaveFile_virtualbase_Seek(void* self, long long offset);
|
|
|
|
void QSaveFile_override_virtual_AtEnd(void* self, intptr_t slot);
|
|
|
|
bool QSaveFile_virtualbase_AtEnd(const void* self);
|
|
|
|
void QSaveFile_override_virtual_Size(void* self, intptr_t slot);
|
|
|
|
long long QSaveFile_virtualbase_Size(const void* self);
|
|
|
|
void QSaveFile_override_virtual_Resize(void* self, intptr_t slot);
|
|
|
|
bool QSaveFile_virtualbase_Resize(void* self, long long sz);
|
|
|
|
void QSaveFile_override_virtual_Permissions(void* self, intptr_t slot);
|
|
|
|
int QSaveFile_virtualbase_Permissions(const void* self);
|
|
|
|
void QSaveFile_override_virtual_SetPermissions(void* self, intptr_t slot);
|
|
|
|
bool QSaveFile_virtualbase_SetPermissions(void* self, int permissionSpec);
|
|
|
|
void QSaveFile_override_virtual_ReadData(void* self, intptr_t slot);
|
|
|
|
long long QSaveFile_virtualbase_ReadData(void* self, char* data, long long maxlen);
|
|
|
|
void QSaveFile_override_virtual_ReadLineData(void* self, intptr_t slot);
|
|
|
|
long long QSaveFile_virtualbase_ReadLineData(void* self, char* data, long long maxlen);
|
|
|
|
void QSaveFile_Delete(QSaveFile* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|