Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Side by Side Diff: lily/drum-note-engraver.cc

Issue 579240043: Issue 4550: Avoid "using namespace std;" in included files (Take 2) (Closed)
Patch Set: Created 5 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 This file is part of LilyPond, the GNU music typesetter. 2 This file is part of LilyPond, the GNU music typesetter.
3 3
4 Copyright (C) 1997--2020 Han-Wen Nienhuys <hanwen@xs4all.nl> 4 Copyright (C) 1997--2020 Han-Wen Nienhuys <hanwen@xs4all.nl>
5 5
6 LilyPond is free software: you can redistribute it and/or modify 6 LilyPond is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or 8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version. 9 (at your option) any later version.
10 10
11 LilyPond is distributed in the hope that it will be useful, 11 LilyPond is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details. 14 GNU General Public License for more details.
15 15
16 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
17 along with LilyPond. If not, see <http://www.gnu.org/licenses/>. 17 along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
18 */ 18 */
19 19
20 #include <cctype> 20 #include <cctype>
21 using namespace std;
22 21
23 #include "item.hh" 22 #include "item.hh"
24 #include "duration.hh" 23 #include "duration.hh"
25 #include "engraver.hh" 24 #include "engraver.hh"
26 #include "note-column.hh" 25 #include "note-column.hh"
27 #include "rhythmic-head.hh" 26 #include "rhythmic-head.hh"
28 #include "side-position-interface.hh" 27 #include "side-position-interface.hh"
29 #include "script-interface.hh" 28 #include "script-interface.hh"
30 #include "stem.hh" 29 #include "stem.hh"
31 #include "stream-event.hh" 30 #include "stream-event.hh"
32 #include "warn.hh" 31 #include "warn.hh"
33 32
34 #include "translator.icc" 33 #include "translator.icc"
35 34
35 using std::vector;
36
36 class Drum_notes_engraver : public Engraver 37 class Drum_notes_engraver : public Engraver
37 { 38 {
38 vector<Item *> scripts_; 39 vector<Item *> scripts_;
39 vector<Stream_event *> events_; 40 vector<Stream_event *> events_;
40 41
41 public: 42 public:
42 TRANSLATOR_DECLARATIONS (Drum_notes_engraver); 43 TRANSLATOR_DECLARATIONS (Drum_notes_engraver);
43 44
44 protected: 45 protected:
45 void process_music (); 46 void process_music ();
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 /* create */ 157 /* create */
157 "NoteHead " 158 "NoteHead "
158 "Script ", 159 "Script ",
159 160
160 /* read */ 161 /* read */
161 "drumStyleTable ", 162 "drumStyleTable ",
162 163
163 /* write */ 164 /* write */
164 "" 165 ""
165 ); 166 );
OLDNEW
« flower/include/file-name.hh ('K') | « lily/dots.cc ('k') | lily/drum-note-performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b