-/*
- 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
{
- DECLARE_SCHEME_CALLBACK(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 */