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"
|
|
|
|
|
|
|
|
#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);
|
|
|
|
QDirIterator* QDirIterator_new2(const char* path, size_t path_Strlen);
|
|
|
|
QDirIterator* QDirIterator_new3(const char* path, size_t path_Strlen, int filter);
|
|
|
|
QDirIterator* QDirIterator_new4(const char* path, size_t path_Strlen, char** nameFilters, uint64_t* nameFilters_Lengths, size_t nameFilters_len);
|
|
|
|
QDirIterator* QDirIterator_new5(QDir* dir, int flags);
|
|
|
|
QDirIterator* QDirIterator_new6(const char* path, size_t path_Strlen, int flags);
|
|
|
|
QDirIterator* QDirIterator_new7(const char* path, size_t path_Strlen, int filter, int flags);
|
|
|
|
QDirIterator* QDirIterator_new8(const char* path, size_t path_Strlen, char** nameFilters, uint64_t* nameFilters_Lengths, size_t nameFilters_len, int filters);
|
|
|
|
QDirIterator* QDirIterator_new9(const char* path, size_t path_Strlen, char** nameFilters, uint64_t* nameFilters_Lengths, size_t nameFilters_len, int filters, int flags);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDirIterator_Next(QDirIterator* self, char** _out, int* _out_Strlen);
|
|
|
|
bool QDirIterator_HasNext(QDirIterator* self);
|
|
|
|
void QDirIterator_FileName(QDirIterator* self, char** _out, int* _out_Strlen);
|
|
|
|
void QDirIterator_FilePath(QDirIterator* self, char** _out, int* _out_Strlen);
|
|
|
|
QFileInfo* QDirIterator_FileInfo(QDirIterator* self);
|
|
|
|
void QDirIterator_Path(QDirIterator* self, char** _out, int* _out_Strlen);
|
|
|
|
void QDirIterator_Delete(QDirIterator* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|