2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QDIRITERATOR_H
|
|
|
|
#define GEN_QDIRITERATOR_H
|
|
|
|
|
|
|
|
#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-08-29 07:01:51 +00:00
|
|
|
class QDir;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QDirIterator;
|
|
|
|
class QFileInfo;
|
|
|
|
#else
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QDir QDir;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QDirIterator QDirIterator;
|
|
|
|
typedef struct QFileInfo QFileInfo;
|
|
|
|
#endif
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QDirIterator* QDirIterator_new(QDir* dir);
|
2024-10-18 23:53:33 +00:00
|
|
|
QDirIterator* QDirIterator_new2(struct miqt_string path);
|
|
|
|
QDirIterator* QDirIterator_new3(struct miqt_string path, int filter);
|
|
|
|
QDirIterator* QDirIterator_new4(struct miqt_string path, struct miqt_array* /* of struct miqt_string */ nameFilters);
|
2024-08-29 07:01:51 +00:00
|
|
|
QDirIterator* QDirIterator_new5(QDir* dir, int flags);
|
2024-10-18 23:53:33 +00:00
|
|
|
QDirIterator* QDirIterator_new6(struct miqt_string path, int flags);
|
|
|
|
QDirIterator* QDirIterator_new7(struct miqt_string path, int filter, int flags);
|
|
|
|
QDirIterator* QDirIterator_new8(struct miqt_string path, struct miqt_array* /* of struct miqt_string */ nameFilters, int filters);
|
|
|
|
QDirIterator* QDirIterator_new9(struct miqt_string path, struct miqt_array* /* of struct miqt_string */ nameFilters, int filters, int flags);
|
|
|
|
struct miqt_string QDirIterator_Next(QDirIterator* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QDirIterator_HasNext(const QDirIterator* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QDirIterator_FileName(const QDirIterator* self);
|
|
|
|
struct miqt_string QDirIterator_FilePath(const QDirIterator* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QFileInfo* QDirIterator_FileInfo(const QDirIterator* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QDirIterator_Path(const QDirIterator* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDirIterator_Delete(QDirIterator* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|