X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Faudio-element.hh;h=e678c724d1c418230e827513bdf234270fb652d8;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=db7e4097d3b12780fcd0688f14f0d39a55d55345;hpb=1cf3d59c1559fb9774c4c1c8cae155cfe54a927c;p=lilypond.git diff --git a/lily/include/audio-element.hh b/lily/include/audio-element.hh index db7e4097d3..e678c724d1 100644 --- a/lily/include/audio-element.hh +++ b/lily/include/audio-element.hh @@ -1,23 +1,35 @@ /* - audio-element.hh -- declare Audio_element + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1997--2015 Han-Wen Nienhuys - (c) 1997--1998 Han-Wen Nienhuys -*/ + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . +*/ #ifndef AUDIO_ELEMENT_HH #define AUDIO_ELEMENT_HH #include "virtual-methods.hh" -struct Audio_element { - void print ()const; - - virtual ~Audio_element(); - DECLARE_MY_RUNTIME_TYPEINFO; -protected: - virtual void do_print () const; +class Audio_element +{ +public: + Audio_element (); + virtual ~Audio_element (); + + DECLARE_CLASSNAME (Audio_element); + virtual char const *name () const; }; + #endif // AUDIO_ELEMENT_HH