Code

moving trunk for module inkscape
[inkscape.git] / src / message.h
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     WARNING_MESSAGE,
25     ERROR_MESSAGE,
26     INFORMATION_MESSAGE
27 };
29 /**
30  * An integer ID which identifies a displayed message in a particular
31  * Inkscape::MessageStack
32  *
33  * @see Inkscape::MessageStack
34  */
35 typedef unsigned long MessageId;
37 }
39 #endif
40 /*
41   Local Variables:
42   mode:c++
43   c-file-style:"stroustrup"
44   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
45   indent-tabs-mode:nil
46   fill-column:99
47   End:
48 */
49 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :