Just Intonation  Version 1.3.1 (19)
Explore key-independent dynamically adapting tuning in just intonation
instrumentfilehandler.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright 2016-2017 Karolin Stange, Christoph Wick, and Haye Hinrichsen
3  *
4  * This file is part of JustIntonation.
5  *
6  * JustIntonation is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by the
8  * Free Software Foundation, either version 3 of the License, or (at your
9  * option) any later version.
10  *
11  * JustIntonation is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14  * for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with JustIntonation. If not, see http://www.gnu.org/licenses/.
18  *****************************************************************************/
19 
20 #ifndef INSTRUMENTFILEHANDLER_H
21 #define INSTRUMENTFILEHANDLER_H
22 
23 #include <QIODevice>
24 
28 
30 {
31 public:
33 
34  template <class T>
35  static bool write(QIODevice &iodevice, const T &object);
36 
37  template <class T>
38  static bool read(QIODevice &iodevice, const T &object);
39 };
40 
41 #endif // INSTRUMENTFILEHANDLER_H
Class for reading and writing an entire instrument.
static bool read(QIODevice &iodevice, const T &object)
static bool write(QIODevice &iodevice, const T &object)