diff --git a/src/inkscape.h b/src/inkscape.h
index e611af49b88fdeacf1506f9f92853d1f757c92a2..64cee1560d5ca2fb0b8a6b0ea0b57b5d5b9b5cf4 100644 (file)
--- a/src/inkscape.h
+++ b/src/inkscape.h
#include <glib/gtypes.h>
struct SPDesktop;
-struct Document;
+struct SPDocument;
struct SPEventContext;
namespace Inkscape {
Inkscape::XML::Node *inkscape_get_menus (Inkscape::Application * inkscape);
Inkscape::Application *inkscape_get_instance();
+gboolean inkscape_use_gui();
+
+bool inkscapeIsCrashing();
+
+SPDesktop * inkscape_find_desktop_by_dkey (unsigned int dkey);
#define SP_ACTIVE_EVENTCONTEXT inkscape_active_event_context ()
SPEventContext * inkscape_active_event_context (void);
#define SP_ACTIVE_DOCUMENT inkscape_active_document ()
-Document * inkscape_active_document (void);
+SPDocument * inkscape_active_document (void);
#define SP_ACTIVE_DESKTOP inkscape_active_desktop ()
SPDesktop * inkscape_active_desktop (void);
gchar *profile_path(const char *filename);
/* Inkscape desktop stuff */
+void inkscape_activate_desktop (SPDesktop * desktop);
void inkscape_switch_desktops_next ();
void inkscape_switch_desktops_prev ();
void inkscape_get_all_desktops (std::list< SPDesktop* >& listbuf);
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :