mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
73 lines
3.2 KiB
C++
73 lines
3.2 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT6_GEN_QRESULTSTORE_H
|
|
#define MIQT_QT6_GEN_QRESULTSTORE_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__ResultItem)
|
|
typedef QtPrivate::ResultItem QtPrivate__ResultItem;
|
|
#else
|
|
class QtPrivate__ResultItem;
|
|
#endif
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__ResultIteratorBase)
|
|
typedef QtPrivate::ResultIteratorBase QtPrivate__ResultIteratorBase;
|
|
#else
|
|
class QtPrivate__ResultIteratorBase;
|
|
#endif
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__ResultStoreBase)
|
|
typedef QtPrivate::ResultStoreBase QtPrivate__ResultStoreBase;
|
|
#else
|
|
class QtPrivate__ResultStoreBase;
|
|
#endif
|
|
#else
|
|
typedef struct QtPrivate__ResultItem QtPrivate__ResultItem;
|
|
typedef struct QtPrivate__ResultIteratorBase QtPrivate__ResultIteratorBase;
|
|
typedef struct QtPrivate__ResultStoreBase QtPrivate__ResultStoreBase;
|
|
#endif
|
|
|
|
QtPrivate__ResultItem* QtPrivate__ResultItem_new(const void* _result, int _count);
|
|
QtPrivate__ResultItem* QtPrivate__ResultItem_new2(const void* _result);
|
|
QtPrivate__ResultItem* QtPrivate__ResultItem_new3();
|
|
bool QtPrivate__ResultItem_IsValid(const QtPrivate__ResultItem* self);
|
|
bool QtPrivate__ResultItem_IsVector(const QtPrivate__ResultItem* self);
|
|
int QtPrivate__ResultItem_Count(const QtPrivate__ResultItem* self);
|
|
void QtPrivate__ResultItem_Delete(QtPrivate__ResultItem* self);
|
|
|
|
QtPrivate__ResultIteratorBase* QtPrivate__ResultIteratorBase_new();
|
|
int QtPrivate__ResultIteratorBase_VectorIndex(const QtPrivate__ResultIteratorBase* self);
|
|
int QtPrivate__ResultIteratorBase_ResultIndex(const QtPrivate__ResultIteratorBase* self);
|
|
int QtPrivate__ResultIteratorBase_BatchSize(const QtPrivate__ResultIteratorBase* self);
|
|
void QtPrivate__ResultIteratorBase_BatchedAdvance(QtPrivate__ResultIteratorBase* self);
|
|
bool QtPrivate__ResultIteratorBase_IsVector(const QtPrivate__ResultIteratorBase* self);
|
|
bool QtPrivate__ResultIteratorBase_CanIncrementVectorIndex(const QtPrivate__ResultIteratorBase* self);
|
|
bool QtPrivate__ResultIteratorBase_IsValid(const QtPrivate__ResultIteratorBase* self);
|
|
void QtPrivate__ResultIteratorBase_Delete(QtPrivate__ResultIteratorBase* self);
|
|
|
|
QtPrivate__ResultStoreBase* QtPrivate__ResultStoreBase_new();
|
|
void QtPrivate__ResultStoreBase_SetFilterMode(QtPrivate__ResultStoreBase* self, bool enable);
|
|
bool QtPrivate__ResultStoreBase_FilterMode(const QtPrivate__ResultStoreBase* self);
|
|
int QtPrivate__ResultStoreBase_AddResult(QtPrivate__ResultStoreBase* self, int index, const void* result);
|
|
int QtPrivate__ResultStoreBase_AddResults(QtPrivate__ResultStoreBase* self, int index, const void* results, int vectorSize, int logicalCount);
|
|
bool QtPrivate__ResultStoreBase_HasNextResult(const QtPrivate__ResultStoreBase* self);
|
|
bool QtPrivate__ResultStoreBase_Contains(const QtPrivate__ResultStoreBase* self, int index);
|
|
int QtPrivate__ResultStoreBase_Count(const QtPrivate__ResultStoreBase* self);
|
|
int QtPrivate__ResultStoreBase_AddCanceledResult(QtPrivate__ResultStoreBase* self, int index);
|
|
void QtPrivate__ResultStoreBase_Delete(QtPrivate__ResultStoreBase* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|