curvedraw
annotate src/curvefile.h @ 11:099fd7adb900
curve parser works
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 19 Dec 2015 22:39:18 +0200 |
parents | 6e980fddbf3b |
children | 37ab3a4c02f8 |
rev | line source |
---|---|
nuclear@6 | 1 #ifndef CURVEFILE_H_ |
nuclear@6 | 2 #define CURVEFILE_H_ |
nuclear@6 | 3 |
nuclear@6 | 4 #include <stdio.h> |
nuclear@10 | 5 #include <list> |
nuclear@6 | 6 #include "curve.h" |
nuclear@6 | 7 |
nuclear@6 | 8 bool save_curves(const char *fname, const Curve * const *curves, int count); |
nuclear@6 | 9 bool save_curves(FILE *fp, const Curve * const *curves, int count); |
nuclear@6 | 10 |
nuclear@10 | 11 std::list<Curve*> load_curves(const char *fname); |
nuclear@10 | 12 std::list<Curve*> load_curves(FILE *fp); |
nuclear@6 | 13 |
nuclear@6 | 14 #endif // CURVEFILE_H_ |