1 #ifndef __INKSCAPE_PRIVATE_H__
2 #define __INKSCAPE_PRIVATE_H__
4 /*
5 * Some forward declarations
6 *
7 * Authors:
8 * Lauris Kaplinski <lauris@kaplinski.com>
9 *
10 * Copyright (C) 1999-2002 Lauris Kaplinski
11 * Copyright (C) 2001-2002 Ximian, Inc.
12 *
13 * Released under GNU GPL, read the file 'COPYING' for more information
14 */
16 #define SP_TYPE_INKSCAPE (inkscape_get_type ())
17 #define SP_INKSCAPE(obj) (GTK_CHECK_CAST ((obj), SP_TYPE_INKSCAPE, Inkscape))
18 #define SP_INKSCAPE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), SP_TYPE_INKSCAPE, InkscapeClass))
19 #define SP_IS_INKSCAPE(obj) (GTK_CHECK_TYPE ((obj), SP_TYPE_INKSCAPE))
20 #define SP_IS_INKSCAPE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), SP_TYPE_INKSCAPE))
22 #include "forward.h"
23 #include "inkscape.h"
25 namespace Inkscape { class Selection; }
27 GType inkscape_get_type (void);
29 void inkscape_ref (void);
30 void inkscape_unref (void);
32 guint inkscape_mapalt();
33 void inkscape_mapalt(guint);
35 /*
36 * These are meant solely for desktop, document etc. implementations
37 */
39 void inkscape_selection_modified (Inkscape::Selection *selection, guint flags);
40 void inkscape_selection_changed (Inkscape::Selection * selection);
41 void inkscape_selection_set (Inkscape::Selection * selection);
42 void inkscape_eventcontext_set (SPEventContext * eventcontext);
43 void inkscape_add_desktop (SPDesktop * desktop);
44 void inkscape_remove_desktop (SPDesktop * desktop);
45 void inkscape_activate_desktop (SPDesktop * desktop);
46 void inkscape_reactivate_desktop (SPDesktop * desktop);
47 void inkscape_add_document (SPDocument *document);
48 bool inkscape_remove_document (SPDocument *document);
50 void inkscape_set_color (SPColor *color, float opacity);
52 #endif
56 /*
57 Local Variables:
58 mode:c++
59 c-file-style:"stroustrup"
60 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
61 indent-tabs-mode:nil
62 fill-column:99
63 End:
64 */
65 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :