#define MUSICALREQUESTS_HH
#include "request.hh"
+#include "duration.hh"
/**
This request is used only a base class.
*/
struct Rhythmic_req : virtual Musical_req {
- int balltype;
- int dots;
- Moment plet_factor;
+ Duration duration_;
+
/* *************** */
+ void set_duration(Duration);
static int compare(const Rhythmic_req &, const Rhythmic_req &);
virtual Moment duration() const;
Rhythmic_req();
- Rhythmic_req(int,int);
REQUESTMETHODS(Rhythmic_req, rhythmic);
};
struct Stem_req : Rhythmic_req {
/// preferred direction for the stem
int dir_i_;
- Stem_req(int s, int dots);
+ Stem_req();
REQUESTMETHODS(Stem_req,stem);
};