summaryrefslogtreecommitdiff
path: root/lily/include/dynamic-reg.hh
blob: 164ac6af3d927cd56de1df460f2584bf1083e770 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
  dynamic-reg.hh -- declare Dynamic_register

  source file of the LilyPond music typesetter

  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
*/


#ifndef DYNAMIC_REG_HH
#define DYNAMIC_REG_HH

#include "register.hh"

struct Dynamic_register : Request_register {
    int dir_i_;
    Text_item * dynamic_p_;
    Crescendo * to_end_cresc_p_;
    Crescendo * cresc_p_;
    Span_dynamic_req * cresc_req_l_;
    Array<Dynamic_req*> dynamic_req_l_arr_;
    /* ************** */
    Dynamic_register();
    ~Dynamic_register();
    virtual bool try_request(Request *req_l);
    virtual void process_requests();
    virtual void pre_move_processing();
    virtual void post_move_processing();
    virtual bool acceptable_request_b(Request*) const;
    virtual void set_feature(Features);
    NAME_MEMBERS(Dynamic_register);
};

#endif // DYNAMIC_REG_HH