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 guint inkscape_trackalt();
36 void inkscape_trackalt(guint);
38 /*
39 * These are meant solely for desktop, document etc. implementations
40 */
42 void inkscape_selection_modified (Inkscape::Selection *selection, guint flags);
43 void inkscape_selection_changed (Inkscape::Selection * selection);
44 void inkscape_selection_set (Inkscape::Selection * selection);
45 void inkscape_eventcontext_set (SPEventContext * eventcontext);
46 void inkscape_add_desktop (SPDesktop * desktop);
47 void inkscape_remove_desktop (SPDesktop * desktop);
48 void inkscape_activate_desktop (SPDesktop * desktop);
49 void inkscape_reactivate_desktop (SPDesktop * desktop);
50 void inkscape_add_document (SPDocument *document);
51 bool inkscape_remove_document (SPDocument *document);
53 void inkscape_set_color (SPColor *color, float opacity);
55 #endif
59 /*
60 Local Variables:
61 mode:c++
62 c-file-style:"stroustrup"
63 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
64 indent-tabs-mode:nil
65 fill-column:99
66 End:
67 */
68 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :