mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
50 lines
1.9 KiB
C++
50 lines
1.9 KiB
C++
#ifndef GEN_QFILESYSTEMWATCHER_H
|
|
#define GEN_QFILESYSTEMWATCHER_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 QFileSystemWatcher;
|
|
class QMetaObject;
|
|
class QObject;
|
|
#else
|
|
typedef struct QFileSystemWatcher QFileSystemWatcher;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QObject QObject;
|
|
#endif
|
|
|
|
QFileSystemWatcher* QFileSystemWatcher_new();
|
|
QFileSystemWatcher* QFileSystemWatcher_new2(struct miqt_array* /* of QString */ paths);
|
|
QFileSystemWatcher* QFileSystemWatcher_new3(QObject* parent);
|
|
QFileSystemWatcher* QFileSystemWatcher_new4(struct miqt_array* /* of QString */ paths, QObject* parent);
|
|
QMetaObject* QFileSystemWatcher_MetaObject(const QFileSystemWatcher* self);
|
|
struct miqt_string* QFileSystemWatcher_Tr(const char* s);
|
|
struct miqt_string* QFileSystemWatcher_TrUtf8(const char* s);
|
|
bool QFileSystemWatcher_AddPath(QFileSystemWatcher* self, struct miqt_string* file);
|
|
struct miqt_array* QFileSystemWatcher_AddPaths(QFileSystemWatcher* self, struct miqt_array* /* of QString */ files);
|
|
bool QFileSystemWatcher_RemovePath(QFileSystemWatcher* self, struct miqt_string* file);
|
|
struct miqt_array* QFileSystemWatcher_RemovePaths(QFileSystemWatcher* self, struct miqt_array* /* of QString */ files);
|
|
struct miqt_array* QFileSystemWatcher_Files(const QFileSystemWatcher* self);
|
|
struct miqt_array* QFileSystemWatcher_Directories(const QFileSystemWatcher* self);
|
|
struct miqt_string* QFileSystemWatcher_Tr2(const char* s, const char* c);
|
|
struct miqt_string* QFileSystemWatcher_Tr3(const char* s, const char* c, int n);
|
|
struct miqt_string* QFileSystemWatcher_TrUtf82(const char* s, const char* c);
|
|
struct miqt_string* QFileSystemWatcher_TrUtf83(const char* s, const char* c, int n);
|
|
void QFileSystemWatcher_Delete(QFileSystemWatcher* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|