]> git.donarmstrong.com Git - lilypond.git/blob - lib/plet.cc
9a098cc4c9b7c4ce60fe90f4ac0b1264f66eaf45
[lilypond.git] / lib / plet.cc
1 /*
2   plet.cc -- implement Plet
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9 #include "plet.hh"
10
11
12 Plet::Plet ()
13 {
14   type_i_ = 1;
15   iso_i_ = 1;
16 }
17
18 Moment
19 Plet::mom () const
20 {
21   return  Moment (iso_i_, type_i_);
22 }
23
24 bool
25 Plet::unit_b () const
26 {
27   return type_i_ == 1 && iso_i_ == 1;
28 }
29