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"
|
|
|
|
|
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 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-09-18 00:12:02 +00:00
|
|
|
QTextBoundaryFinder* QTextBoundaryFinder_new3(int typeVal, struct miqt_string* stringVal);
|
|
|
|
QTextBoundaryFinder* QTextBoundaryFinder_new4(int typeVal, QChar* chars, int length);
|
|
|
|
QTextBoundaryFinder* QTextBoundaryFinder_new5(int typeVal, QChar* chars, int length, unsigned char* buffer);
|
|
|
|
QTextBoundaryFinder* QTextBoundaryFinder_new6(int 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);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTextBoundaryFinder_IsValid(const QTextBoundaryFinder* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QTextBoundaryFinder_Type(const QTextBoundaryFinder* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QTextBoundaryFinder_String(const QTextBoundaryFinder* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextBoundaryFinder_ToStart(QTextBoundaryFinder* self);
|
|
|
|
void QTextBoundaryFinder_ToEnd(QTextBoundaryFinder* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTextBoundaryFinder_Position(const QTextBoundaryFinder* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextBoundaryFinder_SetPosition(QTextBoundaryFinder* self, int position);
|
|
|
|
int QTextBoundaryFinder_ToNextBoundary(QTextBoundaryFinder* self);
|
|
|
|
int QTextBoundaryFinder_ToPreviousBoundary(QTextBoundaryFinder* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTextBoundaryFinder_IsAtBoundary(const QTextBoundaryFinder* self);
|
|
|
|
int QTextBoundaryFinder_BoundaryReasons(const QTextBoundaryFinder* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTextBoundaryFinder_Delete(QTextBoundaryFinder* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|