diff --git a/src/inkscape.h b/src/inkscape.h
index 9907f320f7904b010b7c3c6147f93f63c4bdc648..64cee1560d5ca2fb0b8a6b0ea0b57b5d5b9b5cf4 100644 (file)
--- a/src/inkscape.h
+++ b/src/inkscape.h
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include "forward.h"
+#include <list>
+#include <glib/gtypes.h>
+
+struct SPDesktop;
+struct SPDocument;
+struct SPEventContext;
namespace Inkscape {
-namespace XML {
-class Node;
-class Document;
-}
+ struct Application;
+ namespace XML {
+ class Node;
+ class Document;
+ }
}
-
#define INKSCAPE inkscape_get_instance()
+void inkscape_autosave_init();
+
void inkscape_application_init (const gchar *argv0, gboolean use_gui);
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);
-Inkscape::XML::Node *inkscape_get_repr (Inkscape::Application *inkscape, const gchar *key);
/* Menus */
bool inkscape_load_menus (Inkscape::Application * 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);
gchar *homedir_path(const char *filename);
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);
void inkscape_dialogs_hide ();
void inkscape_dialogs_unhide ();
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 :