summaryrefslogtreecommitdiffstats
path: root/src/io/file.h
blob: b911563b76862e1ae084d45ed31e832a1fea2bcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * 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, bool &cancelled);

// To do:
// ink_file_save()
// ink_file_export()
// ink_file_import()



#endif // INK_FILE_IO_H