BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
MessageHandler.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file App/MessageHandler.h
6 //! @brief Declares function MessageHandler
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_APP_MESSAGEHANDLER_H
16 #define BORNAGAIN_APP_MESSAGEHANDLER_H
17 
18 #include <QApplication>
19 
20 void MessageHandler(QtMsgType type, const QMessageLogContext&, const QString& msg);
21 
22 #endif // BORNAGAIN_APP_MESSAGEHANDLER_H
void MessageHandler(QtMsgType type, const QMessageLogContext &, const QString &msg)
This is set by main to be the message handler of our GUI.