curvedraw

diff src/curvefile.h @ 15:37ab3a4c02f8

merged
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 20 Dec 2015 09:06:04 +0200
parents 95fada20c638
children 7f795f7fecd6
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/curvefile.h	Sun Dec 20 09:06:04 2015 +0200
     1.3 @@ -0,0 +1,14 @@
     1.4 +#ifndef CURVEFILE_H_
     1.5 +#define CURVEFILE_H_
     1.6 +
     1.7 +#include <stdio.h>
     1.8 +#include <list>
     1.9 +#include "curve.h"
    1.10 +
    1.11 +bool save_curves(const char *fname, const Curve * const *curves, int count);
    1.12 +bool save_curves(FILE *fp, const Curve * const *curves, int count);
    1.13 +
    1.14 +std::list<Curve*> load_curves(const char *fname);
    1.15 +std::list<Curve*> load_curves(FILE *fp);
    1.16 +
    1.17 +#endif	// CURVEFILE_H_
    1.18 \ No newline at end of file