X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fdialog%2Fmessages.h;h=b0a9d812b7fd73592ca714e52309294341c6598c;hb=d678fce09c601c803271e129976a4ed7e61125a5;hp=85a7c4f0ffa08b03aae49c30bd98da45b5779797;hpb=a0df1b8dd5b14367c583ce2f72a2ca6bf1cde799;p=inkscape.git diff --git a/src/ui/dialog/messages.h b/src/ui/dialog/messages.h index 85a7c4f0f..b0a9d812b 100644 --- a/src/ui/dialog/messages.h +++ b/src/ui/dialog/messages.h @@ -1,16 +1,15 @@ -/* - * \brief Messages Dialog +/** @file + * @brief Messages dialog * * A very simple dialog for displaying Inkscape messages. Messages * sent to g_log(), g_warning(), g_message(), ets, are routed here, * in order to avoid messing with the startup console. - * - * Authors: + */ +/* Authors: * Bob Jamison * Other dudes from The Inkscape Organization * * Copyright (C) 2004, 2005 Authors - * * Released under GNU GPL, read the file 'COPYING' for more information */ @@ -18,7 +17,6 @@ #define INKSCAPE_UI_DIALOG_MESSAGES_H #include -#include #include #include #include @@ -27,19 +25,18 @@ #include -#include "dialog.h" +#include "ui/widget/panel.h" namespace Inkscape { namespace UI { namespace Dialog { -class Messages : public Dialog { +class Messages : public UI::Widget::Panel { public: - Messages(Behavior::BehaviorFactory behavior_factory); + Messages(); virtual ~Messages(); - static Messages *create(Behavior::BehaviorFactory behavior_factory) - { return new Messages(behavior_factory); } + static Messages &getInstance() { return *new Messages(); } /** * Clear all information from the dialog