Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / ETL / tags / ETL_0_04_08 / ETL / ETL / _curve.h
1 /*! ========================================================================
2 ** Extended Template Library
3 ** Curve Class Implementation
4 ** $Id: _curve.h,v 1.1.1.1 2005/01/04 01:31:47 darco Exp $
5 **
6 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
7 **
8 ** This package is free software; you can redistribute it and/or
9 ** modify it under the terms of the GNU General Public License as
10 ** published by the Free Software Foundation; either version 2 of
11 ** the License, or (at your option) any later version.
12 **
13 ** This package is distributed in the hope that it will be useful,
14 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 ** General Public License for more details.
17 **
18 ** === N O T E S ===========================================================
19 **
20 ** This is an internal header file, included by other ETL headers.
21 ** You should not attempt to use it directly.
22 **
23 ** ========================================================================= */
24
25 /* === S T A R T =========================================================== */
26
27 #ifndef __ETL_CURVE_H
28 #define __ETL_CURVE_H
29
30 /* === H E A D E R S ======================================================= */
31
32 #include "_hermite.h"
33 #include <vector>
34
35 /* === M A C R O S ========================================================= */
36
37 /* === T Y P E D E F S ===================================================== */
38
39 /* === C L A S S E S & S T R U C T S ======================================= */
40
41 _ETL_BEGIN_NAMESPACE
42 /*
43 #ifdef AUTO
44 #undef AUTO
45 #endif
46 #ifdef LINEAR
47 #undef LINEAR
48 #endif
49 #ifdef ABSOLUTE
50 #undef ABSOLUTE
51 #endif
52 #ifdef FAST_TO_SLOW
53 #undef FAST_TO_SLOW
54 #endif
55
56 template<typename T>
57 class curve
58 {
59 public:
60         typedef T value_type;
61 private:
62         enum interpolate_type
63         {
64                 AUTO,
65                 LINEAR,
66                 ABSOLUTE,
67                 FAST_TO_SLOW,
68                 
69         };
70 public:
71 };
72 */
73 _ETL_END_NAMESPACE
74
75 /* === E X T E R N S ======================================================= */
76
77 /* === E N D =============================================================== */
78
79 #endif
80