summaryrefslogtreecommitdiff
path: root/lily/include/script-reg.hh
blob: 034140baeb4e25613025e3f4170aa6fed20279d3 (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
/*
  script-reg.hh -- part of LilyPond

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


#ifndef SCRIPTREG_HH
#define SCRIPTREG_HH

#include "register.hh"


class Script_register : public Request_register {
    Array<Script *> script_p_arr_;
    Array<Script_req *> script_req_l_arr_;

    /* *************** */
    bool acceptable_elem_b(Staff_elem*);
public:
    NAME_MEMBERS(Script_register);
    Script_register();
protected:
    virtual    void set_feature(Features dir_i_);
    virtual bool try_request(Request*);
    virtual void process_requests();
    virtual void acknowledge_element(Staff_elem_info);
    virtual void pre_move_processing();
    virtual void post_move_processing();

};

#endif // SCRIPTREG_HH