]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.22
authorfred <fred>
Fri, 10 Jan 1997 00:03:16 +0000 (00:03 +0000)
committerfred <fred>
Fri, 10 Jan 1997 00:03:16 +0000 (00:03 +0000)
src/request.cc

index 4cb98c2f3459cccbe6a35ddc4d71c8d712141a75..f87f103a6c285e53445356c735bd722b7275c9d7 100644 (file)
@@ -8,6 +8,7 @@
 #define RCONS(T) VIRTUALCONS(T, Request)
 
 RCONS(Rest_req);
+RCONS(Barcheck_req);
 RCONS(Text_req);
 RCONS(Rhythmic_req);
 RCONS(Stem_req);
@@ -18,6 +19,14 @@ RCONS(Span_req);
 RCONS(Slur_req);
 RCONS(Beam_req);
 
+void
+Barcheck_req::print() const    
+{
+#ifndef NPRINT
+    mtor << "Barcheck\n";
+#endif
+}
+
 void
 Request::print() const    
 {
@@ -26,11 +35,22 @@ Request::print() const
 #endif
 }
 
-Request::Request()
+void
+Span_req::print() const    
 {
-    elt = 0;
+#ifndef NPRINT
+    mtor << "Span_req {" << spantype << "}\n";
+#endif
 }
 
+Request::Request()
+{
+    elt_l_ = 0;
+}
+Request::Request(Request const&)
+{
+    elt_l_ = 0;
+}
 Melodic_req::Melodic_req()
 {
     name = 0;
@@ -105,6 +125,12 @@ Script_req::Script_req(int d , Script_def*def)
     scriptdef = def;
 }
 
+Script_req::Script_req(Script_req const &s)
+{
+    dir = s.dir;
+    scriptdef = new Script_def(*s.scriptdef);
+}
+
 void
 Script_req::print() const
 {
@@ -118,7 +144,11 @@ Script_req::~Script_req()
     delete scriptdef;
 }
 
-
+Text_req::Text_req(Text_req const& s)
+{
+    spec = new Text_def(*s.spec);
+    dir = s.dir;
+}
 Text_req::Text_req(int d , Text_def*def)
 {
     dir = d;