repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lilypond-1.5.8
[lilypond.git]
/
midi2ly
/
plet.cc
blob
df6efdd84288547a95b27277d850ffad23ed45d1
1
/*
2
plet.cc -- implement Plet
3
4
source file of the GNU LilyPond music typesetter
5
6
(c) 1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7
*/
8
9
#include
"plet.hh"
10
11
12
Plet
::
Plet
()
13
{
14
type_i_
=
1
;
15
iso_i_
=
1
;
16
}
17
18
Rational
19
Plet
::
mom
()
const
20
{
21
return
Rational
(
iso_i_
,
type_i_
);
22
}
23
24
bool
25
Plet
::
unit_b
()
const
26
{
27
return
type_i_
==
1
&&
iso_i_
==
1
;
28
}
29