]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/midi-chunk.hh
Run grand-replace (issue 3765)
[lilypond.git] / lily / include / midi-chunk.hh
index c567e904f1797a814b4699b8f7a06d5247070c75..3769ce2e42fe7603cc6e3567bf88ea84d6c89eda 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2007--2011 Han-Wen Nienhuys <hanwen@lilypond.org>
+  Copyright (C) 2007--2014 Han-Wen Nienhuys <hanwen@lilypond.org>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -24,7 +24,6 @@
 #include "virtual-methods.hh"
 #include "std-vector.hh"
 
-
 /**
    timed MIDI event
 */
@@ -38,16 +37,13 @@ public:
   string to_string () const;
 };
 
-
-
-
 /**
    variable sized MIDI data
 */
 class Midi_chunk
 {
 public:
-  void set (string header_string, string data_string, string footer_string);
+  void set (const string &header_string, const string &data_string, const string &footer_string);
   virtual string to_string () const;
   virtual string data_string () const;
   DECLARE_CLASSNAME (Midi_chunk);
@@ -73,7 +69,7 @@ public:
   int port_;
   DECLARE_CLASSNAME (Midi_track);
 
-  vector<Midi_event*> events_;
+  vector<Midi_event *> events_;
 
   Midi_track (int number, bool port);
   ~Midi_track ();