2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QMIMETYPE_H
|
|
|
|
#define MIQT_QT6_GEN_QMIMETYPE_H
|
2024-10-20 05:21:03 +00: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 04:15:57 +00:00
|
|
|
QMimeType* QMimeType_new();
|
|
|
|
QMimeType* QMimeType_new2(QMimeType* other);
|
2024-10-20 05:21:03 +00: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);
|
2024-11-17 06:21:37 +00:00
|
|
|
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);
|
2024-10-20 05:21:03 +00:00
|
|
|
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);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QMimeType_Delete(QMimeType* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|