5
* Interface to main application
8
* Lauris Kaplinski <lauris@kaplinski.com>
10
* Copyright (C) 1999-2003 Authors
12
* Released under GNU GPL, read the file 'COPYING' for more information
25
#define INKSCAPE inkscape_get_instance()
27
void inkscape_application_init (const gchar *argv0, gboolean use_gui);
29
bool inkscape_load_config (const gchar *filename, Inkscape::XML::Document *config, const gchar *skeleton, unsigned int skel_size, const gchar *e_notreg, const gchar *e_notxml, const gchar *e_notsp, const gchar *warn);
30
Inkscape::XML::Node *inkscape_get_repr (Inkscape::Application *inkscape, const gchar *key);
33
bool inkscape_load_menus (Inkscape::Application * inkscape);
34
bool inkscape_save_menus (Inkscape::Application * inkscape);
35
Inkscape::XML::Node *inkscape_get_menus (Inkscape::Application * inkscape);
37
Inkscape::Application *inkscape_get_instance();
39
#define SP_ACTIVE_EVENTCONTEXT inkscape_active_event_context ()
40
SPEventContext * inkscape_active_event_context (void);
42
#define SP_ACTIVE_DOCUMENT inkscape_active_document ()
43
SPDocument * inkscape_active_document (void);
45
#define SP_ACTIVE_DESKTOP inkscape_active_desktop ()
46
SPDesktop * inkscape_active_desktop (void);
48
bool inkscape_is_sole_desktop_for_document(SPDesktop const &desktop);
50
gchar *homedir_path(const char *filename);
51
gchar *profile_path(const char *filename);
53
void inkscape_switch_desktops_next ();
54
void inkscape_switch_desktops_prev ();
56
void inkscape_dialogs_hide ();
57
void inkscape_dialogs_unhide ();
58
void inkscape_dialogs_toggle ();
60
void inkscape_external_change ();
61
void inkscape_subselection_changed (SPDesktop *desktop);
64
* fixme: This has to be rethought
67
void inkscape_refresh_display (Inkscape::Application *inkscape);
73
void inkscape_exit (Inkscape::Application *inkscape);
80
c-file-style:"stroustrup"
81
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
86
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :