mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 09:28:36 +00:00
38 lines
1011 B
C++
38 lines
1011 B
C++
#ifndef GEN_QTEMPORARYDIR_H
|
|
#define GEN_QTEMPORARYDIR_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "binding.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QTemporaryDir;
|
|
#else
|
|
typedef struct QTemporaryDir QTemporaryDir;
|
|
#endif
|
|
|
|
QTemporaryDir* QTemporaryDir_new();
|
|
QTemporaryDir* QTemporaryDir_new2(struct miqt_string* templateName);
|
|
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);
|
|
void QTemporaryDir_Delete(QTemporaryDir* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|