mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-13 04:15:45 -05:00
Some checks are pending
Build Porymap / build-linux (, 5.14.2) (push) Waiting to run
Build Porymap / build-linux (, 6.8.*) (push) Waiting to run
Build Porymap / build-linux (minimal, 5.14.2) (push) Waiting to run
Build Porymap / build-macos (macos-15-intel) (push) Waiting to run
Build Porymap / build-macos (macos-latest) (push) Waiting to run
Build Porymap / build-static-windows (push) Waiting to run
19 lines
350 B
C++
19 lines
350 B
C++
#pragma once
|
|
#ifndef LOGSIGNALER_H
|
|
#define LOGSIGNALER_H
|
|
|
|
#include "log.h"
|
|
|
|
#include <QObject>
|
|
|
|
class LogSignaler : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
Q_SIGNAL void logged(const QString& message, LogType type);
|
|
Q_SIGNAL void loggedQt(const QString& message, QtMsgType type);
|
|
static LogSignaler* instance();
|
|
};
|
|
|
|
#endif // LOGSIGNALER_H
|