]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.46.jcn1
authorfred <fred>
Thu, 27 Mar 1997 13:47:39 +0000 (13:47 +0000)
committerfred <fred>
Thu, 27 Mar 1997 13:47:39 +0000 (13:47 +0000)
lily/include/input-register.hh [new file with mode: 0644]
lily/include/staff-sym-reg.hh [new file with mode: 0644]

diff --git a/lily/include/input-register.hh b/lily/include/input-register.hh
new file mode 100644 (file)
index 0000000..6149121
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+  input-register.hh -- declare Input_register
+
+  source file of the LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef INPUT_REGISTER_HH
+#define INPUT_REGISTER_HH
+
+#include "plist.hh"
+#include "string.hh"
+#include "proto.hh"
+#include "input.hh"
+
+struct Input_register : Input { 
+    IPointerList<Input_register*> ireg_list_;
+    String name_str_;
+    
+    void add(Input_register*);
+    Input_register();
+    bool group_b() const;
+    ~Input_register();
+    /** Get an Input_register with a certain name
+
+      @return 0 if not found.
+      */
+    Input_register *get_ireg_l(String name) const;
+    Input_register(Input_register const&);
+    /** 
+      The names of all non -groups.
+      */
+    Array<String> get_nongroups_str_arr() const;
+    void print() const;
+    /**
+      Construct the registers.
+     */
+    Array<Request_register*> get_nongroup_p_arr()const;
+};
+
+Request_register * get_nongroup_register_p(String);
+
+#endif // INPUT_REGISTER_HH
diff --git a/lily/include/staff-sym-reg.hh b/lily/include/staff-sym-reg.hh
new file mode 100644 (file)
index 0000000..24bd2c7
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+  staff-sym-reg.hh -- declare 
+
+  source file of the LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef STAFF_SYM_REG_HH
+#define STAFF_SYM_REG_HH
+#include "register.hh"
+#include "moment.hh"
+
+/**
+  Manage the staff symbol.
+ */
+class Staff_sym_register : public Request_register { 
+    Staff_symbol *span_p_;
+    Moment last_mom_;
+public:
+    ~Staff_sym_register();
+    Staff_sym_register();
+    NAME_MEMBERS(Staff_sym_register);
+    virtual void pre_move_processing();
+    virtual void post_move_processing();
+};
+#endif // STAFF_SYM_REG_HH