]> git.cworth.org Git - scherzo/blobdiff - score.h
Makefile: Add -Wmissing-declarations compiler option
[scherzo] / score.h
diff --git a/score.h b/score.h
index d5391012bb428e26f901a8432535ce797f3c8700..573af22725a23f3a02c49b53ca4c2a67167b0ed9 100644 (file)
--- a/score.h
+++ b/score.h
@@ -114,10 +114,15 @@ score_add_staff (score_t *score, score_clef_t clef);
  * _EIGHTH, etc.) or numerical as simply the denominator (WHOLE=1,
  * QUARTER=4, EIGHTH=8, etc.)
  */
-score_note_t *
-score_add_note (score_staff_t *staff,
-               pitch_t pitch,
-               score_duration_t);
+void
+score_staff_add_note (score_staff_t *staff,
+                     pitch_t pitch,
+                     score_duration_t duration);
+
+/* Add a note to the score, (automatically selecting the nearest
+ * staff) */
+void
+score_add_note (score_t *score, pitch_t pitch, score_duration_t duration);
 
 /* Add a chord symbol of 'name' to a staff.
  *
@@ -138,6 +143,14 @@ score_remove_chord (score_chord_t *chord);
 void
 score_remove_note (score_note_t *note);
 
+/* Remove all notes from the given staff. */
+void
+score_staff_remove_notes (score_staff_t *staff);
+
+/* Remove all notes from the score. */
+void
+score_remove_notes (score_t *score);
+
 void
 score_set_note_color_rgb (score_note_t *note,
                          double r,