2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QPIXMAPCACHE_H
|
|
|
|
#define MIQT_QT_GEN_QPIXMAPCACHE_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#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
|
|
|
|
class QPixmap;
|
|
|
|
class QPixmapCache;
|
2024-08-29 07:01:51 +00:00
|
|
|
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QPixmapCache__Key)
|
|
|
|
typedef QPixmapCache::Key QPixmapCache__Key;
|
|
|
|
#else
|
|
|
|
class QPixmapCache__Key;
|
|
|
|
#endif
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QPixmapCache QPixmapCache;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QPixmapCache__Key QPixmapCache__Key;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
int QPixmapCache_CacheLimit();
|
|
|
|
void QPixmapCache_SetCacheLimit(int cacheLimit);
|
2024-10-18 23:53:33 +00:00
|
|
|
QPixmap* QPixmapCache_Find(struct miqt_string key);
|
|
|
|
bool QPixmapCache_Find2(struct miqt_string key, QPixmap* pixmap);
|
|
|
|
bool QPixmapCache_Find3(struct miqt_string key, QPixmap* pixmap);
|
2024-08-29 07:01:51 +00:00
|
|
|
bool QPixmapCache_Find4(QPixmapCache__Key* key, QPixmap* pixmap);
|
2024-10-18 23:53:33 +00:00
|
|
|
bool QPixmapCache_Insert(struct miqt_string key, QPixmap* pixmap);
|
2024-08-29 07:01:51 +00:00
|
|
|
QPixmapCache__Key* QPixmapCache_InsertWithPixmap(QPixmap* pixmap);
|
|
|
|
bool QPixmapCache_Replace(QPixmapCache__Key* key, QPixmap* pixmap);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QPixmapCache_Remove(struct miqt_string key);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPixmapCache_RemoveWithKey(QPixmapCache__Key* key);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QPixmapCache_Clear();
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPixmapCache_Delete(QPixmapCache* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPixmapCache__Key_new(QPixmapCache__Key** outptr_QPixmapCache__Key);
|
|
|
|
void QPixmapCache__Key_new2(QPixmapCache__Key* other, QPixmapCache__Key** outptr_QPixmapCache__Key);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPixmapCache__Key_OperatorEqual(const QPixmapCache__Key* self, QPixmapCache__Key* key);
|
|
|
|
bool QPixmapCache__Key_OperatorNotEqual(const QPixmapCache__Key* self, QPixmapCache__Key* key);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QPixmapCache__Key_OperatorAssign(QPixmapCache__Key* self, QPixmapCache__Key* other);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QPixmapCache__Key_Swap(QPixmapCache__Key* self, QPixmapCache__Key* other);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QPixmapCache__Key_IsValid(const QPixmapCache__Key* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QPixmapCache__Key_Delete(QPixmapCache__Key* self, bool isSubclass);
|
2024-08-29 07:01:51 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|