miqt/qt6/gen_qloggingcategory.h

40 lines
1.2 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QLOGGINGCATEGORY_H
#define MIQT_QT6_GEN_QLOGGINGCATEGORY_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 QLoggingCategory;
#else
typedef struct QLoggingCategory QLoggingCategory;
#endif
2024-12-07 04:15:57 +00:00
QLoggingCategory* QLoggingCategory_new(const char* category);
2024-10-20 05:21:03 +00:00
bool QLoggingCategory_IsDebugEnabled(const QLoggingCategory* self);
bool QLoggingCategory_IsInfoEnabled(const QLoggingCategory* self);
bool QLoggingCategory_IsWarningEnabled(const QLoggingCategory* self);
bool QLoggingCategory_IsCriticalEnabled(const QLoggingCategory* self);
const char* QLoggingCategory_CategoryName(const QLoggingCategory* self);
QLoggingCategory* QLoggingCategory_OperatorCall(QLoggingCategory* self);
QLoggingCategory* QLoggingCategory_OperatorCall2(const QLoggingCategory* self);
QLoggingCategory* QLoggingCategory_DefaultCategory();
void QLoggingCategory_SetFilterRules(struct miqt_string rules);
2024-11-19 06:29:06 +00:00
void QLoggingCategory_Delete(QLoggingCategory* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif