1 /*
2 * Inkscape::SelectionDescriber - shows messages describing selection
3 *
4 * Authors:
5 * MenTaLguY <mental@rydia.net>
6 *
7 * Copyright (C) 2004 MenTaLguY
8 *
9 * Released under GNU GPL, read the file 'COPYING' for more information
10 */
12 #ifndef SEEN_INKSCAPE_SELECTION_DESCRIPTION_HANDLER_H
13 #define SEEN_INKSCAPE_SELECTION_DESCRIPTION_HANDLER_H
15 #include <sigc++/sigc++.h>
16 #include "message-context.h"
18 namespace Inkscape { class Selection; }
20 namespace Inkscape {
22 class MessageStack;
24 class SelectionDescriber : public sigc::trackable {
25 public:
26 SelectionDescriber(Inkscape::Selection *selection, MessageStack *stack);
28 private:
29 void _updateMessageFromSelection(Inkscape::Selection *selection);
31 MessageContext _context;
32 };
34 }
36 #endif
37 /*
38 Local Variables:
39 mode:c++
40 c-file-style:"stroustrup"
41 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
42 indent-tabs-mode:nil
43 fill-column:99
44 End:
45 */
46 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :