summaryrefslogtreecommitdiffstats
path: root/src/io
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-08-04 23:13:40 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-08-31 14:50:39 +0000
commit2e2f1abfd59888af7749429e9016cd1768b9a0a6 (patch)
treed10e71c10ef2a8c40da5088ca25e1818e1e39706 /src/io
parentSwitch Inkscape::Extension to use InxWidgets instead of InxParameters (diff)
downloadinkscape-2e2f1abfd59888af7749429e9016cd1768b9a0a6.tar.gz
inkscape-2e2f1abfd59888af7749429e9016cd1768b9a0a6.zip
cleanup includes a bit
Diffstat (limited to 'src/io')
-rw-r--r--src/io/file.cpp7
-rw-r--r--src/io/file.h13
2 files changed, 18 insertions, 2 deletions
diff --git a/src/io/file.cpp b/src/io/file.cpp
index a87453d47..877429d26 100644
--- a/src/io/file.cpp
+++ b/src/io/file.cpp
@@ -8,11 +8,11 @@
*
*/
+#include "file.h"
+
#include <iostream>
#include <gtkmm.h>
-#include "file.h"
-
#include "document.h"
#include "document-undo.h"
@@ -24,6 +24,9 @@
#include "object/sp-root.h"
+#include "xml/repr.h"
+
+
/**
* Create a blank document, remove any template data.
* Input: Empty string or template file name.
diff --git a/src/io/file.h b/src/io/file.h
index 3b53bce4f..1767de2a0 100644
--- a/src/io/file.h
+++ b/src/io/file.h
@@ -11,6 +11,19 @@
#ifndef INK_FILE_IO_H
#define INK_FILE_IO_H
+#include <string>
+
+namespace Gio {
+class File;
+}
+
+namespace Glib {
+class ustring;
+
+template <class T>
+class RefPtr;
+}
+
class SPDocument;
SPDocument* ink_file_new(const std::string &Template = nullptr);