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

« back to all changes in this revision

Viewing changes to lily/include/object-key-undumper.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:
 
1
/*
 
2
  object-key-undumper.hh -- declare Object_key_undumper
 
3
 
 
4
  source file of the GNU LilyPond music typesetter
 
5
 
 
6
  (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
7
*/
 
8
 
 
9
#ifndef OBJECT_KEY_UNDUMPER_HH
 
10
#define OBJECT_KEY_UNDUMPER_HH
 
11
 
 
12
#include <map>
 
13
using namespace std;
 
14
 
 
15
#include "object-key.hh"
 
16
 
 
17
typedef map<int, Object_key const *> Int_to_key_map;
 
18
 
 
19
struct Object_key_undumper
 
20
{
 
21
  DECLARE_SMOBS (Object_key_undumper,);
 
22
  Int_to_key_map keys_;
 
23
public:
 
24
  void parse_contents (SCM);
 
25
  Object_key_undumper ();
 
26
  Object_key const *get_key (int k);
 
27
};
 
28
DECLARE_UNSMOB (Object_key_undumper, key_undumper);
 
29
 
 
30
#endif