]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/request.hh
patch::: 1.3.136.jcn2
[lilypond.git] / lily / include / request.hh
index f1cd68f48301f949e49e364fe264b87f3617b159..0f693ce13da94a8356f4f9b7eda743b2816c4e6e 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #ifndef REQUEST_HH
@@ -26,6 +26,7 @@
  */
 class Request : public Music {
 public:
+  Request ();
   VIRTUAL_COPY_CONS(Music);
   bool equal_b (Request const*) const;
 protected:
@@ -38,9 +39,8 @@ protected:
 class Script_req : public virtual Request
 {
 public:
-  Direction dir_;
-  void set_direction (Direction d ) { dir_ =  d; }
-  Direction get_direction () const { return dir_; }
+  void set_direction (Direction d);
+  Direction get_direction () const;
 
   VIRTUAL_COPY_CONS(Music);
   Script_req ();
@@ -53,12 +53,14 @@ public:
 */
 class Span_req  : public virtual Request  {
 public:
-  /// should the spanner start or stop, or is it unwanted?
-  Direction span_dir_;
-  String span_type_str_;
+  String get_span_type_str () const;
+  void set_span_type_str (String);
+  void set_span_dir (Direction d);
+  Direction get_span_dir () const;  
   
   Span_req();
 protected:
+  
   virtual bool do_equal_b (Request const*) const;
 
   VIRTUAL_COPY_CONS(Music);