diff --git a/src/file.h b/src/file.h
index 2eaace640deb60abb24451bb418865c6f71f6d7d..97d1bd5f8a3f2abef0ae55c6b52b8f0707affb6a 100644 (file)
--- a/src/file.h
+++ b/src/file.h
#include <gtk/gtkwidget.h>
#include "extension/extension-forward.h"
#include <gtk/gtkwidget.h>
#include "extension/extension-forward.h"
-
-#include <iostream>
-#include <fstream>
-#include <glibmm/i18n.h>
-
-#include "uri.h"
-#include "streams-webdav.h"
+#include "extension/system.h"
struct SPDesktop;
struct SPDesktop;
-struct Document;
+struct SPDocument;
namespace Inkscape {
namespace Extension {
namespace Inkscape {
namespace Extension {
}
}
}
}
+
/*######################
## N E W
######################*/
/*######################
## N E W
######################*/
bool replace_empty = true
);
bool replace_empty = true
);
-//NOTE1
-/*
- * Opens a new file and window from the given URI (class)
- */
-bool sp_file_open_uri(
- const Inkscape::URI &uri,
- Inkscape::Extension::Extension *key,
- bool add_to_recent = true,
- bool replace_empty = true
- );
-
/**
* Displays a file open dialog. Calls sp_file_open on
* an OK.
/**
* Displays a file open dialog. Calls sp_file_open on
* an OK.
* Added to make only the remote savings.
*/
* Added to make only the remote savings.
*/
-bool file_save_remote(Document *doc, const Glib::ustring &uri,
+bool file_save_remote(SPDocument *doc, const Glib::ustring &uri,
Inkscape::Extension::Extension *key, bool saveas, bool official);
/**
Inkscape::Extension::Extension *key, bool saveas, bool official);
/**
@@ -126,10 +110,10 @@ bool sp_file_save_a_copy (Gtk::Window &parentWindow, gpointer object, gpointer d
* Saves the given document. Displays a file select dialog
* if needed.
*/
* Saves the given document. Displays a file select dialog
* if needed.
*/
-bool sp_file_save_document (Gtk::Window &parentWindow, Document *document);
+bool sp_file_save_document (Gtk::Window &parentWindow, SPDocument *document);
/* Do the saveas dialog with a document as the parameter */
/* Do the saveas dialog with a document as the parameter */
-bool sp_file_save_dialog (Gtk::Window &parentWindow, Document *doc, bool bAsCopy = FALSE);
+bool sp_file_save_dialog (Gtk::Window &parentWindow, SPDocument *doc, Inkscape::Extension::FileSaveMethod save_method);
/*######################
/*######################
/**
* Imports a resource
*/
/**
* Imports a resource
*/
-void file_import(Document *in_doc, const Glib::ustring &uri,
+void file_import(SPDocument *in_doc, const Glib::ustring &uri,
Inkscape::Extension::Extension *key);
/*######################
Inkscape::Extension::Extension *key);
/*######################
* additional type selection, to allow the user to export
* the a document as a given type.
*/
* 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);
/*######################
/*######################
/**
* Export the current document to OCAL
*/
/**
* 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
*/
/**
* Export the current document to OCAL
*/
-bool sp_file_export_to_ocal_dialog (void *widget);
+//bool sp_file_export_to_ocal_dialog (void *widget);
/*######################
/*######################
#endif
#endif
-//namespace Inkscape {
-//namespace Net {
-
-
-
-//}
-//}
-// #endif
-
/*
Local Variables:
mode:c++
/*
Local Variables:
mode:c++