Code

Fixed crash when draw height was zero.
[inkscape.git] / src / preferences.h
1 /** \file
2  * \brief  Static class where all preferences handling happens.
3  *
4  * Authors:
5  *   Ralf Stephan <ralf@ark.in-berlin.de>
6  *
7  * Copyright (C) 2005 Authors
8  *
9  * Released under GNU GPL.  Read the file 'COPYING' for more information.
10  */
12 #ifndef INKSCAPE_PREFERENCES_H
13 #define INKSCAPE_PREFERENCES_H
15 namespace Inkscape {
16     namespace XML {
17         class Document;
18     }
20 class Preferences
21 {
22 public:
23     static XML::Document *get();
24     static void load();
25     static void save();
26     static void loadSkeleton();
27    
28 private:
29 };
31 } // namespace Inkscape
33 #endif // INKSCAPE_PREFERENCES_H
35 /*
36   Local Variables:
37   mode:c++
38   c-file-style:"stroustrup"
39   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
40   indent-tabs-mode:nil
41   fill-column:99
42   End:
43 */
44 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :