2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QSTRINGMATCHER_H
|
|
|
|
#define MIQT_QT_GEN_QSTRINGMATCHER_H
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 18:07:56 +13:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-15 10:29:05 +12:00
|
|
|
|
2024-08-25 16:08:24 +12:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QChar;
|
|
|
|
class QStringMatcher;
|
|
|
|
#else
|
|
|
|
typedef struct QChar QChar;
|
|
|
|
typedef struct QStringMatcher QStringMatcher;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 19:29:06 +13:00
|
|
|
void QStringMatcher_new(QStringMatcher** outptr_QStringMatcher);
|
|
|
|
void QStringMatcher_new2(struct miqt_string pattern, QStringMatcher** outptr_QStringMatcher);
|
|
|
|
void QStringMatcher_new3(QChar* uc, int lenVal, QStringMatcher** outptr_QStringMatcher);
|
|
|
|
void QStringMatcher_new4(QStringMatcher* other, QStringMatcher** outptr_QStringMatcher);
|
|
|
|
void QStringMatcher_new5(struct miqt_string pattern, int cs, QStringMatcher** outptr_QStringMatcher);
|
|
|
|
void QStringMatcher_new6(QChar* uc, int lenVal, int cs, QStringMatcher** outptr_QStringMatcher);
|
2024-08-25 16:08:24 +12:00
|
|
|
void QStringMatcher_OperatorAssign(QStringMatcher* self, QStringMatcher* other);
|
2024-10-19 12:53:33 +13:00
|
|
|
void QStringMatcher_SetPattern(QStringMatcher* self, struct miqt_string pattern);
|
2024-09-18 12:12:02 +12:00
|
|
|
void QStringMatcher_SetCaseSensitivity(QStringMatcher* self, int cs);
|
2024-10-19 12:53:33 +13:00
|
|
|
int QStringMatcher_IndexIn(const QStringMatcher* self, struct miqt_string str);
|
2024-09-11 17:41:09 +12:00
|
|
|
int QStringMatcher_IndexIn2(const QStringMatcher* self, QChar* str, int length);
|
2024-10-19 12:53:33 +13:00
|
|
|
struct miqt_string QStringMatcher_Pattern(const QStringMatcher* self);
|
2024-09-18 12:12:02 +12:00
|
|
|
int QStringMatcher_CaseSensitivity(const QStringMatcher* self);
|
2024-10-19 12:53:33 +13:00
|
|
|
int QStringMatcher_IndexIn22(const QStringMatcher* self, struct miqt_string str, int from);
|
2024-09-11 17:41:09 +12:00
|
|
|
int QStringMatcher_IndexIn3(const QStringMatcher* self, QChar* str, int length, int from);
|
2024-11-19 19:29:06 +13:00
|
|
|
void QStringMatcher_Delete(QStringMatcher* self, bool isSubclass);
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|