]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.14
authorfred <fred>
Sun, 24 Mar 2002 20:02:42 +0000 (20:02 +0000)
committerfred <fred>
Sun, 24 Mar 2002 20:02:42 +0000 (20:02 +0000)
lily/axis-group.cc [deleted file]
lily/break-caching.cc [deleted file]
lily/include/axis-group.hh [deleted file]
lily/include/input-translator.hh [deleted file]

diff --git a/lily/axis-group.cc b/lily/axis-group.cc
deleted file mode 100644 (file)
index b0161fa..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
-  axis-group.cc -- implement Axis_group_administration
-
-  source file of the GNU LilyPond music typesetter
-
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
-*/
-#include "interval.hh"
-#include "axis-group-administration.hh"
-#include "score-elem.hh"
-#include "debug.hh"
-
-/** don't copy anything: an element can only be in one
-  Axis_group_element at one time.  */
-Axis_group_administration::Axis_group_administration (Axis_group_administration const&)
-{
-}
-
-bool 
-Axis_group_administration::contains_b (Score_elem const *e) const
-{
-  return elem_l_arr_.find_l (e);
-}
-
-Interval
-Axis_group_administration::extent (Axis axis) const
-{
-  Interval r;
-  for (int i=0; i < elem_l_arr_.size(); i++) 
-    r.unite (elem_l_arr_[i]->extent (axis));
-  return r;
-}
-
-void
-Axis_group_administration::add_element (Score_elem*e,
-                                       Axis_group_element*g, Axis a1, Axis a2)
-{
-  Axis_group_element *& g1=e->axis_group_l_a_[a1];
-  Axis_group_element *& g2 = e->axis_group_l_a_[a2];
-  
-  assert (!g1 || g1 == g);
-  assert (!g2 || g2 == g);
-  g1 = g;
-  g2 = g;
-  elem_l_arr_.push (e);
-}
-
-
-
-void
-Axis_group_administration::remove_element (Score_elem*e, Axis a1, Axis a2)
-{
-  assert (contains_b (e));
-  elem_l_arr_.unordered_substitute (e,0);
-  
-  e->axis_group_l_a_[a1] = 0;
-  e->axis_group_l_a_[a2] = 0;    
-}
-
-void
-Axis_group_administration::remove_all (Axis a1, Axis a2)
-{
-  for (int i=0; i < elem_l_arr_.size(); i++) 
-    {
-      Score_elem*e=elem_l_arr_[i];
-      e->axis_group_l_a_[a1] = 0;
-      e->axis_group_l_a_[a2] = 0;  
-    }
-  elem_l_arr_.clear();
-}
-
-
-void    
-Axis_group_administration::print() const
-{
-#ifndef NPRINT
-  for (int i=0; i < elem_l_arr_.size(); i++) 
-    DOUT << elem_l_arr_[i]->name() << ' ';
-#endif
-}
diff --git a/lily/break-caching.cc b/lily/break-caching.cc
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/lily/include/axis-group.hh b/lily/include/axis-group.hh
deleted file mode 100644 (file)
index 152688c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
-axis-group-element.hh -- declare Axis_group_administration, Axis_group_element
-
-  source file of the GNU LilyPond music typesetter
-
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
-*/
-
-
-#error
-#ifndef Axis_group_administration_HH
-#define Axis_group_administration_HH#endif // Axis_group_administration_HH
diff --git a/lily/include/input-translator.hh b/lily/include/input-translator.hh
deleted file mode 100644 (file)
index 115a48a..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-  input-translator.hh -- declare Input_translator
-
-  source file of the GNU LilyPond music typesetter
-
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
-*/
-
-
-#ifndef INPUT_TRANSLATOR_HH
-#define INPUT_TRANSLATOR_HH
-
-#include "plist.hh"
-#include "string.hh"
-#include "lily-proto.hh"
-#include "input.hh"
-#include "string.hh"
-#error 
-#include "varray.hh"
-
-struct Input_translator_list : public Pointer_list<Input_translator*> 
-{
-  Input_translator_list (Input_translator_list const &);
-  Input_translator_list(){}
-  ~Input_translator_list(){}
-};
-
-/** Define a intereter for music. This is an runtime interface to the
- typesystem */
-class Input_translator : public Input { 
-public:
-  Input_translator_list contains_itrans_p_list_;
-  Array<String> consists_str_arr_;
-  Array<String> alias_str_arr_;
-  String base_str_;
-  String type_str_;
-  String default_id_str_;
-
-  void add (Input_translator *);
-  bool is_name_b (String);
-  bool accept_req_b();
-  bool accepts_b (String);
-  void print() const;
-  Translator_group * get_group_translator_p();
-  Input_translator * get_default_itrans_l();
-  Input_translator * recursive_find (String nm);
-  Input_translator * find_itrans_l (String nm);    
-};
-
-#endif // Input_translator_HH