]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/header.cc
release: 0.1.10
[lilypond.git] / lily / header.cc
diff --git a/lily/header.cc b/lily/header.cc
new file mode 100644 (file)
index 0000000..f2a54aa
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+  header.cc -- implement Header
+
+  source file of the GNU LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+#include "string.hh"
+#include "assoc-iter.hh"
+#include "header.hh"
+
+String
+Header::TeX_string() const
+{
+  String s;
+  for (Assoc_iter<String, String> i(*this); i.ok(); i++) 
+    {
+      s += "\\def\\mudela" + i.key() + "{" + i.val() + "}";
+    }
+  return s;
+}