]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/clef.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / clef.hh
index f8c4b52c6193f1ba93796080be6cd405aedd99ae..4d6f3ea85778f0a06006c82025b9cf3f4c352651 100644 (file)
@@ -1,36 +1,23 @@
-/*   
-  clef.hh -- declare 
-  
+/*
+  clef.hh -- declare Clef
+
   source file of the GNU LilyPond music typesetter
-  
-  (c) 2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-  
- */
+
+  (c) 2000--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
 
 #ifndef CLEF_HH
 #define CLEF_HH
-#include "lily-guile.hh"
-#include "lily-proto.hh"
-
-/**
-  Set a clef in a staff.
 
-  properties:
-
-  non-default -- not set because of existence of a bar?
-
-  change -- is this a change clef (smaller size)?
+#include "lily-proto.hh"
+#include "grob-interface.hh"
 
-  glyph -- a string determining what glyph is typeset
-  
- */
-struct Clef 
+struct Clef
 {
-  static SCM before_line_breaking (SCM);
-  static bool has_interface (Score_element*);
-  static void set_interface (Score_element*);
+  DECLARE_SCHEME_CALLBACK (calc_glyph_name, (SCM));
+  DECLARE_SCHEME_CALLBACK (print, (SCM));
+  DECLARE_GROB_INTERFACE();
 };
 
-
 #endif /* CLEF_HH */