]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/direction.hh
release: 0.1.47
[lilypond.git] / lily / include / direction.hh
1 /*
2   direction.hh -- declare 
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef DIRECTION_HH
11 #define DIRECTION_HH
12
13 enum Direction 
14 {
15   UP=1,
16   DOWN=-1,
17   LEFT=-1,
18   RIGHT=1,
19   CENTER=0,
20   SMALLER=-1,
21   BIGGER=1,
22
23 };
24
25 /**
26    if d > 0: the max operator
27    if d < 0: the min operator
28  */
29 template<class T> minmax (Direction d, T, T);
30
31
32 #endif // DIRECTION_HH