2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QLOGGINGCATEGORY_H
|
|
|
|
#define GEN_QLOGGINGCATEGORY_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QLoggingCategory;
|
|
|
|
#else
|
|
|
|
typedef struct QLoggingCategory QLoggingCategory;
|
|
|
|
#endif
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QLoggingCategory* QLoggingCategory_new(const char* category);
|
2024-09-11 05:41:09 +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);
|
2024-08-25 04:08:24 +00:00
|
|
|
QLoggingCategory* QLoggingCategory_OperatorCall(QLoggingCategory* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QLoggingCategory* QLoggingCategory_OperatorCall2(const QLoggingCategory* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
QLoggingCategory* QLoggingCategory_DefaultCategory();
|
2024-09-14 22:29:05 +00:00
|
|
|
void QLoggingCategory_SetFilterRules(struct miqt_string* rules);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QLoggingCategory_Delete(QLoggingCategory* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|