mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-21 19:55:20 -05:00
24 lines
457 B
C++
24 lines
457 B
C++
|
#ifndef WSJTX_LOGGING_HPP__
|
||
|
#define WSJTX_LOGGING_HPP__
|
||
|
|
||
|
#include <QtGlobal>
|
||
|
|
||
|
class QString;
|
||
|
|
||
|
//
|
||
|
// Class WSJTXLogging - wraps application specific logging
|
||
|
//
|
||
|
class WSJTXLogging final
|
||
|
{
|
||
|
public:
|
||
|
explicit WSJTXLogging ();
|
||
|
~WSJTXLogging ();
|
||
|
|
||
|
//
|
||
|
// Install this as the Qt message handler (qInstallMessageHandler)
|
||
|
// to integrate Qt messages.
|
||
|
static void qt_log_handler (QtMsgType type, QMessageLogContext const& context, QString const&);
|
||
|
};
|
||
|
|
||
|
#endif
|