]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/request.hh
release: 1.1.15
[lilypond.git] / lily / include / request.hh
index 4394fce306e9e37fd7ba461f0c78275b63b9d4ab..4d0a5f2a0a8fd30daa367a684895a2343ba0a67e 100644 (file)
@@ -30,8 +30,8 @@ public:
     
   virtual ~Request(){}
 
-  DECLARE_MY_RUNTIME_TYPEINFO;
-  VIRTUAL_COPY_CONS(Request,Music);
+  
+  VIRTUAL_COPY_CONS(Music);
     
   bool equal_b (Request*) const;
 protected:
@@ -41,8 +41,8 @@ protected:
 
 
 #define REQUESTMETHODS(T)      \
-DECLARE_MY_RUNTIME_TYPEINFO;\
-VIRTUAL_COPY_CONS(T, Request);\
+\
+VIRTUAL_COPY_CONS(Request);\
 virtual void do_print() const
 
 
@@ -72,9 +72,7 @@ public:
 class Span_req  : public virtual Request  {
 public:
   /// should the spanner start or stop, or is it unwanted?
-  enum Spantype {
-    NOSPAN, START, STOP
-  } spantype;
+  Direction spantype_;
   bool do_equal_b (Request*) const;
   REQUESTMETHODS(Span_req);