mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
37 lines
1.1 KiB
C
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(char* category);
|
||
|
bool QLoggingCategory_IsDebugEnabled(QLoggingCategory* self);
|
||
|
bool QLoggingCategory_IsInfoEnabled(QLoggingCategory* self);
|
||
|
bool QLoggingCategory_IsWarningEnabled(QLoggingCategory* self);
|
||
|
bool QLoggingCategory_IsCriticalEnabled(QLoggingCategory* self);
|
||
|
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
|