X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Faudio-element.hh;h=e678c724d1c418230e827513bdf234270fb652d8;hb=90e4d7057f3857da049dfda3d130017d4719bd6b;hp=6fe2a8e068603903cd89d78f3a48406c474dd78b;hpb=69b9cead5afe7164b9053d26eba582fec3825ef8;p=lilypond.git diff --git a/lily/include/audio-element.hh b/lily/include/audio-element.hh index 6fe2a8e068..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