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"
|
|
|
|
|
|
|
|
#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-08-25 04:08:24 +00:00
|
|
|
bool QLoggingCategory_IsDebugEnabled(QLoggingCategory* self);
|
|
|
|
bool QLoggingCategory_IsInfoEnabled(QLoggingCategory* self);
|
|
|
|
bool QLoggingCategory_IsWarningEnabled(QLoggingCategory* self);
|
|
|
|
bool QLoggingCategory_IsCriticalEnabled(QLoggingCategory* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
const char* QLoggingCategory_CategoryName(QLoggingCategory* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
QLoggingCategory* QLoggingCategory_OperatorCall(QLoggingCategory* self);
|
|
|
|
QLoggingCategory* QLoggingCategory_OperatorCall2(QLoggingCategory* self);
|
|
|
|
QLoggingCategory* QLoggingCategory_DefaultCategory();
|
|
|
|
void QLoggingCategory_SetFilterRules(const char* rules, size_t rules_Strlen);
|
|
|
|
void QLoggingCategory_Delete(QLoggingCategory* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|