nuclear@16: /* nuclear@16: curvedraw - a simple program to draw curves nuclear@16: Copyright (C) 2015 John Tsiombikas nuclear@16: nuclear@16: This program is free software: you can redistribute it and/or modify nuclear@16: it under the terms of the GNU General Public License as published by nuclear@16: the Free Software Foundation, either version 3 of the License, or nuclear@16: (at your option) any later version. nuclear@16: nuclear@16: This program is distributed in the hope that it will be useful, nuclear@16: but WITHOUT ANY WARRANTY; without even the implied warranty of nuclear@16: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nuclear@16: GNU General Public License for more details. nuclear@16: nuclear@16: You should have received a copy of the GNU General Public License nuclear@16: along with this program. If not, see . nuclear@16: */ nuclear@15: #ifndef CURVEFILE_H_ nuclear@15: #define CURVEFILE_H_ nuclear@15: nuclear@15: #include nuclear@15: #include nuclear@15: #include "curve.h" nuclear@15: nuclear@15: bool save_curves(const char *fname, const Curve * const *curves, int count); nuclear@15: bool save_curves(FILE *fp, const Curve * const *curves, int count); nuclear@15: nuclear@15: std::list load_curves(const char *fname); nuclear@15: std::list load_curves(FILE *fp); nuclear@15: nuclear@16: #endif // CURVEFILE_H_