summaryrefslogtreecommitdiffstats
path: root/src/io/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/file.h')
-rw-r--r--src/io/file.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/io/file.h b/src/io/file.h
new file mode 100644
index 000000000..c0c44f6ab
--- /dev/null
+++ b/src/io/file.h
@@ -0,0 +1,25 @@
+/*
+ * File operations (independent of GUI)
+ *
+ * Copyright (C) 2018 Tavmjong Bah
+ *
+ * The contents of this file may be used under the GNU General Public License Version 2 or later.
+ *
+ */
+
+#ifndef INK_FILE_IO_H
+#define INK_FILE_IO_H
+
+class SPDocument;
+
+SPDocument* ink_file_new(const std::string &template = nullptr);
+SPDocument* ink_file_open(const Glib::RefPtr<Gio::File>& file = Glib::RefPtr<Gio::File>());
+
+// To do:
+// ink_file_save()
+// ink_file_export()
+// ink_file_import()
+
+
+
+#endif // INK_FILE_IO_H