mirror of
https://github.com/mappu/miqt.git
synced 2025-02-01 19:10:21 +00:00
40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT6_GEN_QLOGGINGCATEGORY_H
|
|
#define MIQT_QT6_GEN_QLOGGINGCATEGORY_H
|
|
|
|
#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
|
|
|
|
QLoggingCategory* QLoggingCategory_new(const char* category);
|
|
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);
|
|
void QLoggingCategory_delete(QLoggingCategory* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|