]> git.donarmstrong.com Git - lilypond.git/blobdiff - request.cc
release: 0.0.7
[lilypond.git] / request.cc
index 88fdb3349fd18f29343f2e5201800e0e6db9a876..fd032fcfd813ddb6f07199e2d820b87baecc52b8 100644 (file)
@@ -1,6 +1,15 @@
 #include "request.hh"
 #include "debug.hh"
 
+#define VIRTUALCONS(T,R) R *T::clone() const { return  new T(*this); } struct T
+#define RCONS(T) VIRTUALCONS(T, Request)
+
+RCONS(Rest_req);
+RCONS(Rhythmic_req);
+RCONS(Stem_req);
+RCONS(Note_req);
+
+
 void
 Request::print() const    
 {