2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QTEMPORARYDIR_H
|
|
|
|
#define MIQT_QT6_GEN_QTEMPORARYDIR_H
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#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 QTemporaryDir;
|
|
|
|
#else
|
|
|
|
typedef struct QTemporaryDir QTemporaryDir;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QTemporaryDir* QTemporaryDir_new();
|
|
|
|
QTemporaryDir* QTemporaryDir_new2(struct miqt_string templateName);
|
2024-10-20 05:21:03 +00:00
|
|
|
void QTemporaryDir_Swap(QTemporaryDir* self, QTemporaryDir* other);
|
|
|
|
bool QTemporaryDir_IsValid(const QTemporaryDir* self);
|
|
|
|
struct miqt_string QTemporaryDir_ErrorString(const QTemporaryDir* self);
|
|
|
|
bool QTemporaryDir_AutoRemove(const QTemporaryDir* self);
|
|
|
|
void QTemporaryDir_SetAutoRemove(QTemporaryDir* self, bool b);
|
|
|
|
bool QTemporaryDir_Remove(QTemporaryDir* self);
|
|
|
|
struct miqt_string QTemporaryDir_Path(const QTemporaryDir* self);
|
|
|
|
struct miqt_string QTemporaryDir_FilePath(const QTemporaryDir* self, struct miqt_string fileName);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTemporaryDir_Delete(QTemporaryDir* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|