miqt/qt/gen_qloggingcategory.h

37 lines
1.1 KiB
C++

#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
QLoggingCategory* QLoggingCategory_new(const char* category);
bool QLoggingCategory_IsDebugEnabled(QLoggingCategory* self);
bool QLoggingCategory_IsInfoEnabled(QLoggingCategory* self);
bool QLoggingCategory_IsWarningEnabled(QLoggingCategory* self);
bool QLoggingCategory_IsCriticalEnabled(QLoggingCategory* self);
const char* QLoggingCategory_CategoryName(QLoggingCategory* self);
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