2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QTEXTBOUNDARYFINDER_H
|
|
|
|
#define GEN_QTEXTBOUNDARYFINDER_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 QChar;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QTextBoundaryFinder;
|
|
|
|
#else
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QChar QChar;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QTextBoundaryFinder QTextBoundaryFinder;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QTextBoundaryFinder* QTextBoundaryFinder_new();
|
|
|
|
QTextBoundaryFinder* QTextBoundaryFinder_new2(QTextBoundaryFinder* other);
|
2024-08-29 07:01:51 +00:00
|
|
|
QTextBoundaryFinder* QTextBoundaryFinder_new3(uintptr_t typeVal, const char* stringVal, size_t stringVal_Strlen);
|
|
|
|
QTextBoundaryFinder* QTextBoundaryFinder_new4(uintptr_t typeVal, QChar* chars, int length);
|
|
|
|
QTextBoundaryFinder* QTextBoundaryFinder_new5(uintptr_t typeVal, QChar* chars, int length, unsigned char* buffer);
|
|
|
|
QTextBoundaryFinder* QTextBoundaryFinder_new6(uintptr_t typeVal, QChar* chars, int length, unsigned char* buffer, int bufferSize);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextBoundaryFinder_OperatorAssign(QTextBoundaryFinder* self, QTextBoundaryFinder* other);
|
|
|
|
bool QTextBoundaryFinder_IsValid(QTextBoundaryFinder* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
uintptr_t QTextBoundaryFinder_Type(QTextBoundaryFinder* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextBoundaryFinder_String(QTextBoundaryFinder* self, char** _out, int* _out_Strlen);
|
|
|
|
void QTextBoundaryFinder_ToStart(QTextBoundaryFinder* self);
|
|
|
|
void QTextBoundaryFinder_ToEnd(QTextBoundaryFinder* self);
|
|
|
|
int QTextBoundaryFinder_Position(QTextBoundaryFinder* self);
|
|
|
|
void QTextBoundaryFinder_SetPosition(QTextBoundaryFinder* self, int position);
|
|
|
|
int QTextBoundaryFinder_ToNextBoundary(QTextBoundaryFinder* self);
|
|
|
|
int QTextBoundaryFinder_ToPreviousBoundary(QTextBoundaryFinder* self);
|
|
|
|
bool QTextBoundaryFinder_IsAtBoundary(QTextBoundaryFinder* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
int QTextBoundaryFinder_BoundaryReasons(QTextBoundaryFinder* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextBoundaryFinder_Delete(QTextBoundaryFinder* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|