1 /*
2 * status-message-related types
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_MESSAGE_H
13 #define SEEN_INKSCAPE_MESSAGE_H
15 namespace Inkscape {
17 /**
18 * A hint about the meaning of a message; is it an ordinary message,
19 * a message advising the user of some significant or unexpected condition,
20 * or a message indicating an unambiguous error.
21 */
22 enum MessageType {
23 NORMAL_MESSAGE,
24 IMMEDIATE_MESSAGE,
25 WARNING_MESSAGE,
26 ERROR_MESSAGE,
27 INFORMATION_MESSAGE
28 };
30 /**
31 * An integer ID which identifies a displayed message in a particular
32 * Inkscape::MessageStack
33 *
34 * @see Inkscape::MessageStack
35 */
36 typedef unsigned long MessageId;
38 }
40 #endif
41 /*
42 Local Variables:
43 mode:c++
44 c-file-style:"stroustrup"
45 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
46 indent-tabs-mode:nil
47 fill-column:99
48 End:
49 */
50 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :