diff --git a/src/document.h b/src/document.h
index fc35611f318013538124b093ba29c0557240b22f..696e568ad419e01465564e308928197278068ecf 100644 (file)
--- a/src/document.h
+++ b/src/document.h
SPObject *root; ///< Our SPRoot
CRCascade *style_cascade;
- gchar *uri; ///< URI string or NULL
- gchar *base;
- gchar *name;
+ gchar *uri; ///< A filename (not a URI yet), or NULL
+ gchar *base; ///< To be used for resolving relative hrefs.
+ gchar *name; ///< basename(uri) or other human-readable label for the document.
SPDocumentPrivate *priv;
GSList *sp_document_items_at_points(SPDocument *document, unsigned const key, std::vector<Geom::Point> points);
SPItem *sp_document_group_at_point (SPDocument *document, unsigned int key, Geom::Point const p);
-void sp_document_set_uri(SPDocument *document, const gchar *uri);
+void sp_document_set_uri(SPDocument *document, gchar const *uri);
+void sp_document_change_uri_and_hrefs(SPDocument *document, gchar const *uri);
+
void sp_document_resized_signal_emit(SPDocument *doc, gdouble width, gdouble height);
unsigned int vacuum_document(SPDocument *document);