]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.10
authorfred <fred>
Mon, 18 Aug 1997 23:24:55 +0000 (23:24 +0000)
committerfred <fred>
Mon, 18 Aug 1997 23:24:55 +0000 (23:24 +0000)
lily/header.cc [new file with mode: 0644]

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;
+}