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

« back to all changes in this revision

Viewing changes to lily/include/grob-info.hh

  • 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:
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
 
 
10
9
#ifndef STAFFELEMINFO_HH
11
10
#define STAFFELEMINFO_HH
12
11
 
13
12
#include "lily-guile.hh"
14
13
#include "lily-proto.hh"
15
 
#include "parray.hh"
 
14
#include "std-vector.hh"
16
15
 
17
16
/*
18
17
  Data container for broadcasts.
19
 
  */
20
 
struct Grob_info {
21
 
  Translator * origin_trans_;
 
18
*/
 
19
class Grob_info
 
20
{
 
21
  Translator *origin_trans_;
 
22
  Grob *grob_;
 
23
 
22
24
  friend class Engraver;
23
 
 
24
 
  Grob * grob_;
25
 
 
26
25
public:
27
 
  Music * music_cause ();
28
 
  Link_array<Context> origin_contexts (Translator*) const;
 
26
  Grob *grob () const { return grob_; }
 
27
  Translator *origin_translator () const { return origin_trans_; }
 
28
 
 
29
  Context *context () const;
 
30
  Music *music_cause () const;
 
31
  Music *ultimate_music_cause () const;
 
32
  vector<Context*> origin_contexts (Translator *) const;
 
33
  Grob_info (Translator *, Grob *);
29
34
  Grob_info ();
 
35
 
 
36
  Item *item () const;
 
37
  Spanner *spanner () const;
30
38
};
31
39
 
32
40
#endif // STAFFELEMINFO_HH