2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QMIMETYPE_H
|
|
|
|
#define MIQT_QT6_GEN_QMIMETYPE_H
|
2024-10-20 18:21:03 +13:00
|
|
|
|
|
|
|
#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
|
|
|
|
class QMimeType;
|
|
|
|
#else
|
|
|
|
typedef struct QMimeType QMimeType;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QMimeType* QMimeType_new();
|
|
|
|
QMimeType* QMimeType_new2(QMimeType* other);
|
2025-02-01 13:45:16 +13:00
|
|
|
void QMimeType_operatorAssign(QMimeType* self, QMimeType* other);
|
|
|
|
void QMimeType_swap(QMimeType* self, QMimeType* other);
|
|
|
|
bool QMimeType_operatorEqual(const QMimeType* self, QMimeType* other);
|
|
|
|
bool QMimeType_operatorNotEqual(const QMimeType* self, QMimeType* other);
|
|
|
|
bool QMimeType_isValid(const QMimeType* self);
|
|
|
|
bool QMimeType_isDefault(const QMimeType* self);
|
|
|
|
struct miqt_string QMimeType_name(const QMimeType* self);
|
|
|
|
struct miqt_string QMimeType_comment(const QMimeType* self);
|
|
|
|
struct miqt_string QMimeType_genericIconName(const QMimeType* self);
|
|
|
|
struct miqt_string QMimeType_iconName(const QMimeType* self);
|
|
|
|
struct miqt_array /* of struct miqt_string */ QMimeType_globPatterns(const QMimeType* self);
|
|
|
|
struct miqt_array /* of struct miqt_string */ QMimeType_parentMimeTypes(const QMimeType* self);
|
|
|
|
struct miqt_array /* of struct miqt_string */ QMimeType_allAncestors(const QMimeType* self);
|
|
|
|
struct miqt_array /* of struct miqt_string */ QMimeType_aliases(const QMimeType* self);
|
|
|
|
struct miqt_array /* of struct miqt_string */ QMimeType_suffixes(const QMimeType* self);
|
|
|
|
struct miqt_string QMimeType_preferredSuffix(const QMimeType* self);
|
|
|
|
bool QMimeType_inherits(const QMimeType* self, struct miqt_string mimeTypeName);
|
|
|
|
struct miqt_string QMimeType_filterString(const QMimeType* self);
|
|
|
|
void QMimeType_delete(QMimeType* self);
|
2024-10-20 18:21:03 +13:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-10-20 18:21:03 +13:00
|
|
|
|
|
|
|
#endif
|