curvedraw

view 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
line source
1 #ifndef CURVEFILE_H_
2 #define CURVEFILE_H_
4 #include <stdio.h>
5 #include <list>
6 #include "curve.h"
8 bool save_curves(const char *fname, const Curve * const *curves, int count);
9 bool save_curves(FILE *fp, const Curve * const *curves, int count);
11 std::list<Curve*> load_curves(const char *fname);
12 std::list<Curve*> load_curves(FILE *fp);
14 #endif // CURVEFILE_H_