Code

add accessor for the waiting_cursor flag (sorry for the recompile)
[inkscape.git] / src / io / resource.h
1 /** \file
2  * Inkscape::IO::Resource - simple resource API
3  *
4  * Copyright 2006 MenTaLguY <mental@rydia.net>
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  * See the file COPYING for details.
12  *
13  */
15 #ifndef SEEN_INKSCAPE_IO_RESOURCE_H
16 #define SEEN_INKSCAPE_IO_RESOURCE_H
18 #include "util/share.h"
20 namespace Inkscape {
22 namespace IO {
24 namespace Resource {
26 enum Type {
27     APPICONS,
28     EXTENSIONS,
29     GRADIENTS,
30     ICONS,
31     KEYS,
32     MARKERS,
33     PALETTES,
34     PATTERNS,
35     PLUGINS,
36     SCREENS,
37     TEMPLATES,
38     TUTORIALS,
39     UI
40 };
42 enum Domain {
43     SYSTEM,
44     CREATE,
45     USER
46 };
48 Util::ptr_shared<char> get_path(Domain domain, Type type,
49                                 char const *filename=NULL);
51 }
53 }
55 }
57 #endif
58 /*
59   Local Variables:
60   mode:c++
61   c-file-style:"stroustrup"
62   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
63   indent-tabs-mode:nil
64   fill-column:99
65   End:
66 */
67 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :