]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/accidental-interface.hh
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / lily / include / accidental-interface.hh
index e906f9fcb45cb88787da161891168f6a41a58553..8fd57a5fd91f6a7b9eab3390c9a0811c80f2aa67 100644 (file)
@@ -1,27 +1,30 @@
-/*   
-accidental-interface.hh -- declare  Accidental_interface
+/*
+  accidental-interface.hh -- declare  Accidental_interface
 
-source file of the GNU LilyPond music typesetter
+  source file of the GNU LilyPond music typesetter
 
-(c) 2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-
- */
+  (c) 2002--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
 
 #ifndef ACCIDENTAL_INTERFACE_HH
 #define ACCIDENTAL_INTERFACE_HH
 
-#include "grob.hh"
+#include "std-vector.hh"
+
+#include "box.hh"
+#include "lily-proto.hh"
+#include "grob-interface.hh"
 
 class Accidental_interface
 {
 public:
-  DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM));
-  DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM));  
-  static bool has_interface (Grob*);
+  DECLARE_SCHEME_CALLBACK (print, (SCM));
+  DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM));
   
-  static String get_fontcharname(String style, int alteration);
-  static Array<Box> Accidental_interface::accurate_boxes (Grob *me,Grob**common);
+  DECLARE_GROB_INTERFACE();
+  static string get_fontcharname (string style, int alteration);
+  static vector<Box> accurate_boxes (Grob *me,
+                                                         Grob **common);
 };
 
-
 #endif