~ubuntu-branches/ubuntu/precise/lilypond/precise

« back to all changes in this revision

Viewing changes to lily/sequential-music-iterator.cc

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2006-12-19 10:18:12 UTC
  • mfrom: (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061219101812-7awtjkp0i393wxty
Tags: 2.8.7-3
scripts/midi2ly.py: When setting DATADIR, find Lilypond python files
in the @TOPLEVEL_VERSION@ directory, not 'current'.  Patch thanks to
Chris Lamb (chris@chris-lamb.co.uk).  (Closes: #400550)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
  Sequential_music_iterator.cc -- implement Sequential_music_iterator
 
2
  sequential-music-iterator.cc -- implement Sequential_music_iterator
3
3
 
4
4
  source file of the GNU LilyPond music typesetter
5
5
 
6
 
  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 
6
  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7
7
*/
8
8
 
9
9
#include "context.hh"
10
 
 
11
 
 
 
10
#include "sequential-music-iterator.hh"
 
11
#include "music.hh"
12
12
#include "warn.hh"
13
 
#include "sequential-music-iterator.hh"
14
 
#include "music-list.hh"
15
 
 
16
 
 
17
 
 
18
13
 
19
14
IMPLEMENT_CTOR_CALLBACK (Sequential_music_iterator);
20
15
 
21
16
SCM
22
17
Sequential_music_iterator::get_music_list ()const
23
18
{
24
 
  return dynamic_cast<Music_sequence const*> (get_music ())->music_list ();
 
19
  return get_music ()->get_property ("elements");
25
20
}