]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/pointer-group-interface.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / pointer-group-interface.hh
index 7ec2d625133c1a1e2fbcdad1c9596db9d32ab03b..02799135e13377a4b225a4900a532d03ef5c2e7b 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2005--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #ifndef POINTER_GROUP_INTERFACE_HH
@@ -19,10 +19,14 @@ public:
   static int count (Grob *, SCM);
   static void add_grob (Grob *, SCM nm, Grob *e);
   static void add_grob (Grob *, SCM nm, SCM x);
+  static void add_unordered_grob (Grob *, SCM nm, Grob *);
+  static void set_ordered (Grob *, SCM, bool);
+  static Grob_array *get_grob_array (Grob*, SCM);
+  static Grob *find_grob (Grob*, SCM, bool (*pred) (Grob*));
 };
 
-Link_array__Grob_ const &internal_extract_grob_array (Grob const *elt, SCM symbol);
-Link_array__Item_ internal_extract_item_array (Grob const *elt, SCM symbol);
+vector<Grob*> const &internal_extract_grob_array (Grob const *elt, SCM symbol);
+vector<Item*> internal_extract_item_array (Grob const *elt, SCM symbol);
 
 #define extract_grob_array(x, prop) internal_extract_grob_array (x, ly_symbol2scm (prop))
 #define extract_item_array(x, prop) internal_extract_item_array (x, ly_symbol2scm (prop))
@@ -32,9 +36,9 @@ Link_array__Item_ internal_extract_item_array (Grob const *elt, SCM symbol);
   representation of grob sets again.
 */
 #define extract_grob_set(grob, prop, set)                              \
-  Link_array__Grob_ const &set (internal_extract_grob_array (grob, ly_symbol2scm (prop)))
+  vector<Grob*> const &set (internal_extract_grob_array (grob, ly_symbol2scm (prop)))
 #define extract_item_set(grob, prop, set)                              \
-  Link_array__Item_ set (internal_extract_item_array (grob, ly_symbol2scm (prop)))
+  vector<Item*> set (internal_extract_item_array (grob, ly_symbol2scm (prop)))
 
 #endif /* POINTER_GROUP_INTERFACE_HH */