Code

Use subdirectories with icon sizes.
[inkscape.git] / src / file.h
index c5a854922907d74ca6babad7037b30d19e3bc429..97d1bd5f8a3f2abef0ae55c6b52b8f0707affb6a 100644 (file)
@@ -20,6 +20,7 @@
 #include <gtk/gtkwidget.h>
 
 #include "extension/extension-forward.h"
+#include "extension/system.h"
 
 struct SPDesktop;
 struct SPDocument;
@@ -30,6 +31,7 @@ namespace Inkscape {
     }
 }
 
+
 /*######################
 ## N E W
 ######################*/
@@ -79,14 +81,6 @@ void sp_file_revert_dialog ();
 ## S A V E
 ######################*/
 
-/*
- * Added to make only the local savings.
- */
-
-bool file_save_local(Gtk::Window &parentWindow, SPDocument *doc, const Glib::ustring &uri,
-               Inkscape::Extension::Extension *key, bool saveas, bool official);
-
-
 /*
  * Added to make only the remote savings.
  */
@@ -94,8 +88,6 @@ bool file_save_local(Gtk::Window &parentWindow, SPDocument *doc, const Glib::ust
 bool file_save_remote(SPDocument *doc, const Glib::ustring &uri,
                 Inkscape::Extension::Extension *key, bool saveas, bool official);
 
-
-
 /**
  *
  */
@@ -121,7 +113,7 @@ bool sp_file_save_a_copy (Gtk::Window &parentWindow, gpointer object, gpointer d
 bool sp_file_save_document (Gtk::Window &parentWindow, SPDocument *document);
 
 /* Do the saveas dialog with a document as the parameter */
-bool sp_file_save_dialog (Gtk::Window &parentWindow, SPDocument *doc, bool bAsCopy = FALSE);
+bool sp_file_save_dialog (Gtk::Window &parentWindow, SPDocument *doc, Inkscape::Extension::FileSaveMethod save_method);
 
 
 /*######################
@@ -149,7 +141,7 @@ void file_import(SPDocument *in_doc, const Glib::ustring &uri,
  * additional type selection, to allow the user to export
  * the a document as a given type.
  */
-bool sp_file_export_dialog (void *widget);
+bool sp_file_export_dialog (Gtk::Window &parentWindow);
 
 
 /*######################
@@ -159,13 +151,13 @@ bool sp_file_export_dialog (void *widget);
 /**
  * Export the current document to OCAL
  */
-void sp_file_export_to_ocal (Gtk::Window &parentWindow );
+//void sp_file_export_to_ocal (Gtk::Window &parentWindow );
 
 
 /**
  * Export the current document to OCAL
  */
-bool sp_file_export_to_ocal_dialog (void *widget);
+//bool sp_file_export_to_ocal_dialog (void *widget);
 
 
 /*######################
@@ -178,14 +170,6 @@ bool sp_file_export_to_ocal_dialog (void *widget);
 void sp_file_import_from_ocal (Gtk::Window &parentWindow );
 
 
-/**
- * Import a document from OCAL
- */
-//bool sp_file_import_from_ocal_dialog (void *widget);
-
-
-
-
 /*######################
 ## P R I N T
 ######################*/
@@ -197,12 +181,7 @@ would be useful as instance methods
 /**
  *
  */
-void sp_file_print (void);
-
-/**
- *
- */
-void sp_file_print_direct (void);
+void sp_file_print (Gtk::Window& parentWindow);
 
 /**
  *
@@ -219,13 +198,16 @@ void sp_file_print_preview (gpointer object, gpointer data);
 void sp_file_vacuum ();
 
 
-namespace Inkscape {
-namespace IO {
-
-void fixupHrefs( SPDocument *doc, const gchar *uri, gboolean spns );
-
-}
-}
+#endif
 
 
-#endif
+/*
+  Local Variables:
+  mode:c++
+  c-file-style:"stroustrup"
+  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+  indent-tabs-mode:nil
+  fill-column:99
+  End:
+*/
+// vi: set autoindent shiftwidth=4 tabstop=8 filetype=cpp expandtab softtabstop=4 encoding=utf-8 textwidth=99 :