Code

Revert recent refactoring changes by johnce because they break the build, which canno...
[inkscape.git] / src / extension / system.h
1 /*
2  * This is file is kind of the junk file.  Basically everything that
3  * didn't fit in one of the other well defined areas, well, it's now
4  * here.  Which is good in someways, but this file really needs some
5  * definition.  Hopefully that will come ASAP.
6  *
7  * Authors:
8  *   Ted Gould <ted@gould.cx>
9  *
10  * Copyright (C) 2002-2004 Authors
11  *
12  * Released under GNU GPL, read the file 'COPYING' for more information
13  */
15 #ifndef INKSCAPE_EXTENSION_SYSTEM_H__
16 #define INKSCAPE_EXTENSION_SYSTEM_H__
18 #include "document.h"
19 #include "extension/extension.h"
21 namespace Inkscape {
22 namespace Extension {
24 SPDocument *open(Extension *key, gchar const *filename);
25 void save(Extension *key, SPDocument *doc, gchar const *filename,
26           bool setextension, bool check_overwrite, bool official);
27 Print *get_print(gchar const *key);
28 Extension *build_from_file(gchar const *filename);
29 Extension *build_from_mem(gchar const *buffer, Implementation::Implementation *in_imp);
31 } } /* namespace Inkscape::Extension */
33 #endif /* INKSCAPE_EXTENSION_SYSTEM_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 :