7 #ifndef __FWGUI_DIALOG_LOGGERDIALOG_HPP__ 8 #define __FWGUI_DIALOG_LOGGERDIALOG_HPP__ 10 #include "fwGui/config.hpp" 11 #include "fwGui/dialog/ILoggerDialog.hpp" 13 #include <fwCore/base.hpp> 15 #include <fwLog/Logger.hpp> 40 FWGUI_API
static bool showLoggerDialog(
const std::string& title,
const std::string& message,
41 const ::fwLog::Logger::sptr& logger);
55 FWGUI_API
LoggerDialog(
const std::string& title,
const std::string& message,
56 const ::fwLog::Logger::sptr& logger);
62 FWGUI_API
virtual void setTitle(
const std::string& title)
override;
68 FWGUI_API
virtual void setMessage(
const std::string& message)
override;
74 FWGUI_API
virtual void setLogger(const ::fwLog::Logger::sptr& logger)
override;
79 FWGUI_API
virtual bool show()
override;
83 ::fwGui::dialog::ILoggerDialog::sptr m_implementation;
ILoggerDialog is used to display a dialog message and a set of logs.
The namespace fwGui contains the base interface for IHM services.
ILoggerDialog is used to display a dialog message and a set of logs Use the Delegate design pattern...
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.