]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/grob-selector.hh
* lily/lily-guile.cc (ly_to_string, ly_to_symbol): New function.
[lilypond.git] / lily / include / grob-selector.hh
index be4b62b7540dc0985db56cc51ec43d0e3fc0f561..a235ef3ea07cce0da429960c4a964fd1b90c89a6 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "lily-guile.hh"
 #include "lily-proto.hh"
+#include "protected-scm.hh"
 
 /**
  * Grob_selector:
  **/
 class Grob_selector
 {
-  static int count_;
   static Scheme_hash_table *grobs_;
+  static Protected_scm tweaks_;
 
 public:
   static void register_grob (Context *context, Grob *grob);
-  static SCM identify_grob (Context *context, Grob *grob, int count);
+  static SCM identify_grob (Context *context, Moment m, Grob *grob, int count);
   static SCM identify_grob (Grob *grob);
-  static Grob *retrieve_grob (SCM key);
+  static Grob *retrieve_grob (SCM grob_id);
+  static void store_grob (SCM grob_id, Grob *grob);
+  static void set_tweaks (SCM tweaks);
 };
 
 #endif /* GROB_SELECTOR_HH */